Re:What Is React: A Visual Introduction for Beginners
by deergomoo on Thursday February 04, 2021 @03:59PM
(#26029697)
> Vue can be used just like jQuery without any nodejs tooling
You can, but you probably shouldn’t (outside of prototyping). It requires you to both ship the template compiler to the client, and to perform the template compilation on the client, on every single page load (vs serving a cached, pre-compiled JS file).
If you want to sprinkle JS onto an otherwise server rendered page, you’re better off with something like Alpine.js [1]
You can, but you probably shouldn’t (outside of prototyping). It requires you to both ship the template compiler to the client, and to perform the template compilation on the client, on every single page load (vs serving a cached, pre-compiled JS file).
If you want to sprinkle JS onto an otherwise server rendered page, you’re better off with something like Alpine.js [1]
[1] https://github.com/alpinejs/alpine