Skip to content

Releases: ctrlplusb/react-injectables

v4.0.2

Choose a tag to compare

@ctrlplusb ctrlplusb released this 11 Apr 16:24

<a name"4.0.2">

4.0.2 (2016-04-11)

Bug Fixes

  • Injector: Injector component index was incorrectly placed. (bd1e4ee9)

v4.0.1

Choose a tag to compare

@ctrlplusb ctrlplusb released this 11 Apr 14:36

<a name"4.0.1">

4.0.1 (2016-04-11)

Bug Fixes

  • release: Bumped the npm package description. (451ed553)

v4.0.0

Choose a tag to compare

@ctrlplusb ctrlplusb released this 11 Apr 13:47

<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

Choose a tag to compare

@ctrlplusb ctrlplusb released this 06 Apr 22:17

<a name"3.1.1">

3.1.1 (2016-04-06)

Bug Fixes

  • Injector: Injectors were not updating for prop updates. (59ee4b06)

v3.1.0

Choose a tag to compare

@ctrlplusb ctrlplusb released this 06 Apr 20:49

<a name"3.1.0">

3.1.0 (2016-04-06)

Features

  • Injector: The inject property for Injectors can now resolve to null/undefined. (70852014)

v3.0.1

Choose a tag to compare

@ctrlplusb ctrlplusb released this 06 Apr 12:22

<a name"3.0.1">

3.0.1 (2016-04-06)

Bug Fixes

  • docs: Bumped version to kick npm doc update. (b0ac565d)

v3.0.0

Choose a tag to compare

@ctrlplusb ctrlplusb released this 06 Apr 12:04

<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)

v2.0.0

Choose a tag to compare

@ctrlplusb ctrlplusb released this 06 Apr 07:13

<a name"2.0.0">

2.0.0 (2016-04-06)

Breaking Changes

  • prepInjection() dropped and Injector api updated.

    (49316f8d)

v1.0.1

Choose a tag to compare

@ctrlplusb ctrlplusb released this 05 Apr 14:04

<a name"1.0.1">

1.0.1 (2016-04-05)

Bug Fixes

  • Injectables: Injections are now keyed. (e182cb98)