|
|
|
|
|
by mephitix
2926 days ago
|
|
Hi - What's the latest philosophy/best practices on interop with React web? Is the philosophy still 'learn once write everywhere'? There are so many different approaches now to reuse React Native with React, like react-native-web and react-native-dom, it's confusing. Some of those solutions are non-starters for me since I started with a React webapp and want to now have a React Native app that shares most of my existing code. My gut feeling is just stick with HOCs, SFCs, proper isolation of the views and I'll be able to share the bulk of things like action creators, reducers, etc. Is this reasonable? Are there other good practices? |
|