3 ms·
React is fine for web apps, but static sites are not web apps. Using the DOM where appropriate is perfectly fine.
by iamstupidsimple 5y ago
React is fine for web apps, but static sites are not web apps. Using the DOM where appropriate is perfectly fine.
- nawgz 5y agoHis point, stated with a bit too much ad hominem, is that with such a serialization you can scaffold entire dynamic web apps which can include form submission where the form dynamically updates based on rules & current state, uses a configurable method, and more, whereas DOM is inherently a "view" and has no concept of state