|
|
|
|
|
by derekzhouzhen
404 days ago
|
|
Yes, you can kiss reactivity good-bye and just render the whole page on any state change. No, generating HTML string and setting innerHTML is unsafe and slower than necessary. It is better to create DOM elements programmatically. HTML is for serialization of the DOM tree; if everything is done in javascript then you don't need HTML as an intermediate step. |
|