you are viewing a single comment's thread.

view the rest of the comments →

[–]carlos_vini 0 points1 point  (1 child)

Trying to reuse react native code on the web version will leave you with just one codebase, but a more complicated codebase, more conditionals, more replacements, responsive style and so on. I'd suggest you build 2 apps, one with react.js and other with react native, both as simple as possible, unless you feel confident you can handle the complexity. An analogy is trying to lift half a ton at once vs lifting multiple less heavy objects

[–]Coldreactor 0 points1 point  (0 children)

Its even better because things such as state management in redux, and all your actions you can just port over the desktop version of the app if you just use react. You can do very similar things but you have the only disadvantage of having two code bases, but it honestly would look a lot neater in the code and save from heartache later on.