admin管理员组文章数量:1406926
I'm working on an app that may be rewritten in React Native. (i've no experience in React) The problem is that work will continue on the 'legacy app', new features/business logic will be added while the React version is being written. So the React version will constantly be playing catchup.
Any code written in the legacy app is wasted effort and I want any code written for the legacy app to be reusable for the React version.
One option is to start writing in React now and import that into the existing legacy app.
Having read through the docs, I can see that you can integrate React components into an existing app from this doc /docs/integration-with-existing-apps
Which is great but not all things have a UI, eg new business logic.
Is there a way to write business logic in React Native and consume that natively in iOS/Android without going through UI views?
本文标签: Call Business Logic in React Native from Native UIStack Overflow
版权声明:本文标题:Call Business Logic in React Native from Native UI? - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1744976934a2635577.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论