Releases: ctrlplusb/react-injectables
v4.0.2
v4.0.1
v4.0.0
<a name"4.0.0">
4.0.0 (2016-04-11)
Breaking Changes
-
Provider renamed to InjectableProvider.
-
The Injector helper has been greatly simplified. Instead of
wrapping a component that will host the injection, it rather produces an
injection component which you can render into any component that you would
like to initiate an injection. This produces a much cleaner API and allows
you to easily pass down specific props to the component that will be injected.
Please look at the updated readme for example usage.(adf2d572)
v3.1.1
v3.1.0
v3.0.1
v3.0.0
<a name"3.0.0">
3.0.0 (2016-04-06)
Breaking Changes
-
The Injector no longer supports the 'elements' prop, it now has an
'inject' prop which allows you to pass through either a stateless component (that will recieve the
same props as the component being wrapped) or an element. Using the stateless component method is
preferable as it will only be executed when needed, whereas passing an element requires you to
acutally create the element up front.(c7e282cc)