Hacker News new | past | comments | ask | show | jobs | submit login

If you think stimulus serves the same use case as web components, I think you haven’t used it enough or you just got it wrong.

Web components are more comparable to react, vue, svelte, etc. of course you can do anything stimulus do with web components, as you can also with react.

The point of stimulus, which is more comparable to Alpine, jQuery, knockout, etc is that you can just sprinkle behavior on existing server side rendered HTML. Web components and similar can’t do this as they have their own tenplating system, which mean no server side rendering without super complicated build tooling and architectures.

So, no, stimulus has nothing to do with web components. They’re complimentary to each other more than competitors.




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

Search: