Re:Facebook just updated its relationship status with Web Co...
by croes on Tuesday May 07, 2024 @09:40PM
(#40293517)
React is like JQuery.
Re:Facebook just updated its relationship status with Web Co...
by afavour on Tuesday May 07, 2024 @11:36PM
(#40294091)
Unfortunately I don’t think that comparison quite holds. jQuery is mentioned less and less because core browser APIs implemented a lot of what it does and made it unnecessary.
Even if Web Components solve the “create a component” part of React there’s still an absolute ton of stuff it provides that Web Components don’t. I tend to think of WC as a low level API you want a library interfacing with rather than your own code, e.g. the way Svelte exports web components.
Re:Facebook just updated its relationship status with Web Co...
by Dylan16807 on Tuesday May 07, 2024 @10:30PM
(#40293791)
If it's a choice between removing the JQuery dependency from old JQuery code, or updating equally old vanilla javascript, I'm going to be picking the first option a lot.
Yes, I'm being hyperbolic. But if you're worried about longevity I would certainly hitch my wagon to React before I hitched it to WebComponents.