3 ms·
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 orches
by thallukrish 7y ago
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.
- projectileboy 7y agoThis 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.
- rawoke083600 7y ago"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 !