Re:An iOS dev's experience with React Native
by breeny592 on Wednesday March 22, 2017 @09:01PM
(#13936610)
A note on the require issue: this makes sense if you think of requiring as it's compiled equal - importing.
You can't dynamically import dependencies - so if you're wanting to load JSON dynamically you should be using other mechanisms (even if it's just a FS operation or having an internal service to return JSON).
You can't dynamically import dependencies - so if you're wanting to load JSON dynamically you should be using other mechanisms (even if it's just a FS operation or having an internal service to return JSON).