Skip to content

Commit 252ea07

Browse files
authored
Merge pull request #97 from ericandrewlewis/patch-1
Fix subheading
2 parents b5ffb74 + 682367f commit 252ea07

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

patterns/20.dependency-injection.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,8 @@ The title is hidden in a middle layer (higher-order component) where we pass it
8383
That's all nice but it solves only half of the problem.
8484
Now we don't have to pass the title down the tree but how this data will reach the enhance.jsx helper.
8585

86-
Using React's context
86+
## Using React's context
87+
8788
React has the concept of context. The context is something that every component may have access to.
8889
It's something like an event bus but for data. A single model which we can access from everywhere.
8990

0 commit comments

Comments
 (0)