News for hackers. Stuff that matters.
Re:AppHub – Update React Native Apps Without Re-Submitting t... by vjeux on Wednesday August 12, 2015 @12:40PM (#10048830)
Right now React Native packager bundles everything in one file but we're actively working on splitting it into many different files and supporting require.ensure() in order to asynchronously load modules.
Re:AppHub – Update React Native Apps Without Re-Submitting t... by Touche on Wednesday August 12, 2015 @03:11PM (#10049955)
Oh, so you're only going to support WebPack? That's disappointing.
Re:AppHub – Update React Native Apps Without Re-Submitting t... by skrebbel on Wednesday August 12, 2015 @03:27PM (#10050053)
They take pull requests
Re:AppHub – Update React Native Apps Without Re-Submitting t... by spicyj on Wednesday August 12, 2015 @04:23PM (#10050368)
No one said anything about webpack. If you have another async module loading syntax you'd prefer I'm sure we'd be happy to look at it.
Re:AppHub – Update React Native Apps Without Re-Submitting t... by Touche on Wednesday August 12, 2015 @04:40PM (#10050477)
Webpack is the only loader that does require.ensure to my knowledge. To answer your question; there's also System.import() (SystemJS) and require([]) (any AMD loader like requirejs) that are async module loading.
Re:AppHub – Update React Native Apps Without Re-Submitting t... by spicyj on Wednesday August 12, 2015 @04:49PM (#10050525)
React Native has its own packager, at least for now.