Also I’d like to see how they handle mount/unmount logic like event listeners.
VanJS (Vanilla JavaScript): smallest reactive UI framework
11–20 of 214 posts
Re: VanJS (Vanilla JavaScript): smallest reactive UI framework
#12I really don't want to be that guy, but... Vanilla JavaScript already exists as a popular term for JavaScript without any framework. No jQuery, no React - just JavaScript. Calling a library VanJS (as short for "Vanilla JavaScript") is just going to cause confusion. The repo's own description uses the phrase vanilla JavaScript in this way, and even mixes both meanings within a single sentence. If the author likes the…
Re: VanJS (Vanilla JavaScript): smallest reactive UI framework
#13I really don't want to be that guy, but... Vanilla JavaScript already exists as a popular term for JavaScript without any framework. No jQuery, no React - just JavaScript. Calling a library VanJS (as short for "Vanilla JavaScript") is just going to cause confusion. The repo's own description uses the phrase vanilla JavaScript in this way, and even mixes both meanings within a single sentence. If the author likes the…
Re: VanJS (Vanilla JavaScript): smallest reactive UI framework
#14Obviously it's early days for VanJS and the authors could add all sorts of fancy SSR and clever scheduling, but if they do they'll lose the tiny size and end up making something that starts looking very like React (or more likely, Preact).
It's all a trade off. Sacrificing speed and complexity for size and DX is fine. You just need to be aware that's what you're doing, and neither is 'better' for all aspects of web app dev.
Re: VanJS (Vanilla JavaScript): smallest reactive UI framework
#15I really don't want to be that guy, but... Vanilla JavaScript already exists as a popular term for JavaScript without any framework. No jQuery, no React - just JavaScript. Calling a library VanJS (as short for "Vanilla JavaScript") is just going to cause confusion. The repo's own description uses the phrase vanilla JavaScript in this way, and even mixes both meanings within a single sentence. If the author likes the…
Re: VanJS (Vanilla JavaScript): smallest reactive UI framework
#16Very similar to: https://github.com/jehna/longwood
Re: VanJS (Vanilla JavaScript): smallest reactive UI framework
#17nice project, very cool, but I don't see the meaning to do this. nowadays, most small project can use vanilla javascript, if they don't need a framework, they really don't need it. if we are building a large project, why not use react/vue/svelte ? better docs, better features, better community.
I don't think it's an "all or nothing" situation. I do UIs without big frameworks, but that doesn't mean I don't use any library for some needs. I personally appreciate anything that needs no transpiling.
Re: VanJS (Vanilla JavaScript): smallest reactive UI framework
#18I really don't want to be that guy, but... Vanilla JavaScript already exists as a popular term for JavaScript without any framework. No jQuery, no React - just JavaScript. Calling a library VanJS (as short for "Vanilla JavaScript") is just going to cause confusion. The repo's own description uses the phrase vanilla JavaScript in this way, and even mixes both meanings within a single sentence. If the author likes the…
This. I originally thought this was a rebranding of http://vanilla-js.com/ and I'm disappointed.
Re: VanJS (Vanilla JavaScript): smallest reactive UI framework
#19I really don't want to be that guy, but... Vanilla JavaScript already exists as a popular term for JavaScript without any framework. No jQuery, no React - just JavaScript. Calling a library VanJS (as short for "Vanilla JavaScript") is just going to cause confusion. The repo's own description uses the phrase vanilla JavaScript in this way, and even mixes both meanings within a single sentence. If the author likes the…
Yes, please be that guy. Or I'll do it. Vanilla Javascript refers indeed to "javascript without a framework". So creating a framework and calling it "vanilla javascript" is... wrong?
https://plato.stanford.edu/Archives/Fall2012/entries/liar-pa...