|
|
|
|
|
by Uristqwerty
1569 days ago
|
|
You can replace a chunk of innerHTML faster than a full page reload, using a near-trivial piece of vanilla JS. But a full page reload also clears out memory "leaks", old state accidentally kept around in caches, clinging to DOM nodes discarded long ago, but themselves still referenced by an old copy of a data structure, etc. If you go for a SPA, or even something in between, suddenly being careful about your data structures becomes a major concern to long-term app use, carrying a whole new category of debugging. |
|