|
|
|
|
|
by namelosw
1765 days ago
|
|
It's the same reason that most React apps start with ReactDOM.render(<App />, document.getElementById('app')) instead of ReactDOM.render(<App />, document.body). IIRC there were many tutorials in the early days of React that mentioned this. |
|