4 ms·
I hope one day more web developers will realise all the major JS frameworks are just a band aid to plug the gaps in vanilla JS. It should be easy to build web a
by ZenoArrow 9y ago
I hope one day more web developers will realise all the major JS frameworks are just a band aid to plug the gaps in vanilla JS. It should be easy to build web apps using vanilla JS. No frameworks pushing a certain way of working, just a reliable batteries-included language that you're free to extend with your own application-specific extensions and mix-and-match external libraries, just like desktop app developers have taken for granted for over a decade.
- mort96 9y agoSay that your opinion is correct, and every web developer agrees with it. What could web developers do about it? The gaps you are talking about in vanilla JS does exist, so until they're plugged, web devs would still prefer to use these frameworks until the standard bodies and browser vendors make a better alternative. Web Components might be the solution, but it's not exactly ready yet: https://caniuse.com/#search=components https://caniuse.com/#search=components
- ZenoArrow 9y agoWeb Components are a good step forward. To understand how to improve JS, try writing in vanilla JS (no frameworks) and find the common pain points. Organise with fellow JS developers to get features to address these shortcomings in the EcmaScript standard. Once this is done, use tools like Babel to polyfill the missing functionality from the EcmaScript standards until browser vendors implement them. Rinse, repeat.
- Too 9y agoEasiest way to solve this would be to simply bundle a precompiled Vue into the browser and call it a day.
- ZenoArrow 9y agoVue is not a one-size-fits-all solution though is it.