Skip to content

Commit

Permalink
fix small typo
Browse files Browse the repository at this point in the history
"written" → "re-written", since the the markup is already in the DOM, from when it was first received from the server.
  • Loading branch information
redbar0n committed Jun 5, 2021
1 parent 58da4bd commit 1a3f535
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -273,7 +273,7 @@ problem in the following way:
1. When all JS has loaded and React starts the rehydration phase, we query the
browser for what breakpoint it’s currently at and then limit the rendered
components to the matching media queries. This prevents life-cycle methods
from firing in hidden components and unused html being written to the DOM.
from firing in hidden components and unused html being re-written to the DOM.

1. Additionally, we register event listeners with the browser to notify the
`MediaContextProvider` when a different breakpoint is matched and then
Expand Down

0 comments on commit 1a3f535

Please sign in to comment.