SIGN IN SIGN UP
facebook / react UNCLAIMED

The library for web and native user interfaces.

0 0 0 JavaScript

Simplify environment injections (#10175)

* Remove unnecessary injection guard

* Remove inject() indirection for global injections

It was necessary when they shared global state. But now these are flat bundles so we can inject as side effect.
This feels a bit less convoluted to me.

Ideally we can get rid of this somehow soon.
D
Dan Abramov committed
2dcdc3c633809d176ca6716dca1bddcd7d835be9
Parent: 0070925
Committed by GitHub <[email protected]> on 7/13/2017, 7:44:52 PM