Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I have spent a lot of time in Angular 2 and later in Angular 6. I had later switched to plain java script and used requireJS to modularize. I have my own orchestrator to route events like a pub-sub. HTML5 + CSS + plain JS is good enough for most simple UI.


"I have my own orchestrator to..." Herein lies the problem.. does your own orchestrator have good examples, documentations or examples on StackOverFlow ? Not trying to be di*k !


This is a (currently) under-rated approach that would apply well to many sites today.


While 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.


I 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.


The answer in this case is to use Vue or Svelte. Super light weight and avoids the pitfalls of re-inventing the wheel.




Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: