VanJS (Vanilla JavaScript): smallest reactive UI framework
21–30 of 214 posts
Re: VanJS (Vanilla JavaScript): smallest reactive UI framework
#22The "Hello World" example is a really good example of why React, Vue, etc are better than something more minimal like this library if you're optimizing for speed. The page will show nothing until the script runs, which requires downloading the VanJS lib and the script itself. You could inline them into the page, but that gets seriously messy at scale. A modern React app that's using some serverside rendering for the…
Re: VanJS (Vanilla JavaScript): smallest reactive UI framework
#23I 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?
Re: VanJS (Vanilla JavaScript): smallest reactive UI framework
#24That's cool but my favorite vanilla js framework by far is vapor.js. https://github.com/madrobby/vapor.js
Re: VanJS (Vanilla JavaScript): smallest reactive UI framework
#25Earlier quoted context omitted.
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?
It’s 93 lines, less than most CSS resets. Small enough to copy paste to the top of your index.html in a script tag. You can use it without NPM, webpack, a special compiler pass, or a template language. Seems pretty vanilla compared to the full fat, popular alternatives.
Does it seem vanilla compared to vanilla? Haha..
Re: VanJS (Vanilla JavaScript): smallest reactive UI framework
#26I 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
#27I 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…
That is why the name is only half vanilla: van ;-)
Re: VanJS (Vanilla JavaScript): smallest reactive UI framework
#28Re: VanJS (Vanilla JavaScript): smallest reactive UI framework
#29That's cool but my favorite vanilla js framework by far is vapor.js. https://github.com/madrobby/vapor.js
I really love the documentation for this project! Super-intuitive!
Re: VanJS (Vanilla JavaScript): smallest reactive UI framework
#30Would seem that it's not difficult to come by a framework tiny and functional. The question is, how long are they valuable to maintain and how tiny they keep if you cater for all the corner cases and fix bugs