This may be a naive question, but I couldn\'t find too much information on this topic. I have a fully functional react-redux application and I would now like to port it to
They're usually pretty separate, partly because your render target is different (i.e. no div
s) and partly because of things like window
not being available. It's possible to reuse code between web and native apps, but only if you're very careful about it.
From the react native release blog post:
It's worth noting that we're not chasing “write once, run anywhere.” Different platforms have different looks, feels, and capabilities, and as such, we should still be developing discrete apps for each platform