Skip to content

Commit

Permalink
perf(api): Refactored API.
Browse files Browse the repository at this point in the history
You no longer need to use the prepInjection() function to create Injectable and Injector instances.
Instead we provide you wiht the Injectable and Injector directly and will manage the wiring up for
you.  Please read docs for updated usage.

BREAKING CHANGE: prepInjection() dropped and Injector api updated.
  • Loading branch information
ctrlplusb committed Apr 6, 2016
1 parent dd4f331 commit 49316f8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
[![MIT License](https://img.shields.io/npm/l/react-injectables.svg?style=flat-square)](http://opensource.org/licenses/MIT)
[![Codecov](https://img.shields.io/codecov/c/github/ctrlplusb/react-injectables.svg?style=flat-square)](https://codecov.io/github/ctrlplusb/react-injectables)

Tiny, and the only dependency is a peer dependency of React.

## What is this for?

Envision you have the following component tree:
Expand Down

0 comments on commit 49316f8

Please sign in to comment.