Skip to content

Commit

Permalink
Fix subheading
Browse files Browse the repository at this point in the history
  • Loading branch information
ericandrewlewis authored Dec 15, 2017
1 parent 63b229e commit 682367f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion patterns/20.dependency-injection.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,8 @@ The title is hidden in a middle layer (higher-order component) where we pass it
That's all nice but it solves only half of the problem.
Now we don't have to pass the title down the tree but how this data will reach the enhance.jsx helper.

Using React's context
## Using React's context

React has the concept of context. The context is something that every component may have access to.
It's something like an event bus but for data. A single model which we can access from everywhere.

Expand Down

0 comments on commit 682367f

Please sign in to comment.