3 ms·
There’s no DOM on the server and you only generate it once on the client. 1) The server generates html (a string). 2) Browser receives html and builds DOM jus
by v0idzer0 4y ago
There’s no DOM on the server and you only generate it once on the client.
1) The server generates html (a string).
2) Browser receives html and builds DOM just like in any static website
3) Javascript downloads and react sees the DOM already exists and does nothing