3 ms·
This is a (currently) under-rated approach that would apply well to many sites today.
by projectileboy 7y ago
This is a (currently) under-rated approach that would apply well to many sites today.
- Cthulhu_ 7y agoWhile I want to agree, at the same time I'm afraid of people creating their own frameworks, re-inventing the wheel, etc. Mind you, Angular feels like a very heavyweight framework, so that would be the other side of the coin. Personally I wouldn't go for a vanilla JS application, not unless the script / application part of it are minimal.
- deleted 7y ago[deleted]
- NewLogic 7y agoThe answer in this case is to use Vue or Svelte. Super light weight and avoids the pitfalls of re-inventing the wheel.
- projectileboy 7y agoI should have been more clear - my point is not so much that people should use vanilla JS rather than a framework, it’s more that the majority of SPAs I’m forced to interact with could have been implemented just as well with HTML, CSS, and a relatively small amount of JavaScript - small enough to not beg for any kind of framework at all. If the nature of the app really truly demands a full-blown SPA, then by all means go all in on something like React.