Hacker News new | ask | show | jobs
by SGML_ROCKSTAR 1715 days ago
It is clear to me that we are in a holding pattern for web components to become the norm and for component frameworks to become decoupled from application frameworks, so I have no idea what I will be using in 5 years.

So, we'll arrive to something similar to where we are with JavaScript and jQuery, where the latter is less relevant now that JavaScript is appreciably better? Meaning, that with web components the norm, we might arrive to less need for frameworks like React or Vue?

(I might be misunderstanding due to the sleep deprivation, so apologies if what I write comes across as gibberish.)

1 comments

No, I think we have just as much of a need for frameworks, so you would have the same React for example, but instead of having JSX that is a combination of html5 elements and react components, you'd have JSX that is a combination of html5 elements, web components and fewer react components. That will allow for richer component libraries that share a lot more code between frameworks. In order to build those component libraries we're going to need frameworks that enable that.

We've experimented with the combination react + stencil to build in this way, but there were just too many problems relating to workarounds to get things to work and performance which just wasn't good enough.