Skip to content

Commit

Permalink
Update 05.md (epicweb-dev#96)
Browse files Browse the repository at this point in the history
Changes "responsible with" to "responsible for" because "responsible with" doesn't make sense there.
  • Loading branch information
douglance authored Nov 23, 2020
1 parent 360828a commit f760879
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/exercise/05.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ of these need to work directly with the DOM. Remember that when you do:
`<div>hi</div>` that's actually syntactic sugar for a `React.createElement` so
you don't actually have access to DOM nodes in your render method. In fact, DOM
nodes aren't created at all until the `ReactDOM.render` method is called. Your
component's render method is really just responsible with creating and returning
component's render method is really just responsible for creating and returning
React Elements and has nothing to do with the DOM in particular.

So to get access to the DOM, you need to ask React to give you access to a
Expand Down

0 comments on commit f760879

Please sign in to comment.