metro/react-packager
Martín Bigio 51e1a1f6a2 [react-packager] Move async dependencies to `System.import`
Summary:
We've decided to move the syntax for asynchronously requiring async dependencies. The new syntax works better with promises and therefore withe async/await as well. The new syntax looks like this: `System.import('moduleA').then(moduleA => {...});` or if you're using async/await you could simply do:
  let moduleA = await System.import('moduleA');
  new moduleA().someFunction();

If you need to require multiple dependencies just do:
  Promise
    .all([System.import('moduleA'), System.import('moduleB')])
    .then((moduleA, moduleB) => {...})

or the equivalent using async/await
2015-08-21 07:56:19 -07:00
..
__mocks__ Replace bluebird with promise 2015-06-22 08:44:03 -08:00
src [react-packager] Move async dependencies to `System.import` 2015-08-21 07:56:19 -07:00
.babelrc [Babel] Upgrade babel and regenerator to the latest version 2015-08-10 20:37:39 -08:00
.npmignore [react-packager][streamline oss] Move open sourced JS source to react-native-github 2015-02-19 21:25:11 -08:00
index.js [react-native] Update graceful-fs and use it in _build_bundle.js 2015-08-20 23:58:51 -07:00