Skip to content

Commit a52d9b0

Browse files
reverofeviltimdorr
authored andcommitted
Fix #3528: document.body is a bad idea (#3529)
1 parent d16eeb6 commit a52d9b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ render((
118118
<Route path="*" component={NoMatch}/>
119119
</Route>
120120
</Router>
121-
), document.body)
121+
), document.getElementById('target'))
122122
```
123123

124124
See more in the [Introduction](/docs/Introduction.md), [Guides](/docs/guides/README.md), and [Examples](/examples).

0 commit comments

Comments
 (0)