This content originally appeared on Go Make Things and was authored by Go Make Things
I’ve written and talked before about how I imagine that the web platform (as in, browsers) will absorb a lot of features that we use state-based UI libraries for today.
I’d love a JavaScript property or function that you can use to diff the DOM for example.
But these approaches are all very React-centric, and I think the future of state-based UI on the web is more like Vue.
I really like the idea of state tied to HTML attributes, updated by JavaScript with some simple DOM Manipulation, and baked right into the browser natively.
<button @click="count++" count="0">
Count is: ${ count }
</button>
The web platform is at its best when its declarative. HTML is simpler, easier, and more approachable than JavaScript.
🔥 Black Friday Sale! Today through Monday, save 50% on every pocket guide, video course, and enrollment in the Vanilla JS Academy. If you buy a pocket guide bundle or join Academy, you'll also get $673 in free bonus gifts. This sale ends Monday, so don't wait!
This content originally appeared on Go Make Things and was authored by Go Make Things

Go Make Things | Sciencx (2022-11-22T14:30:00+00:00) The future of the reactive web is Vue. Retrieved from https://www.scien.cx/2022/11/22/the-future-of-the-reactive-web-is-vue/
Please log in to upload a file.
There are no updates yet.
Click the Upload button above to add an update.