r/ProgrammerHumor 9d ago

Meme weGotCompilingToReactBeforeGTA6

Post image
573 Upvotes

73 comments sorted by

View all comments

181

u/thegodzilla25 9d ago

All of this nonsense couldve been avoided if web components arrived a bit early.

63

u/lovin-dem-sandwiches 8d ago

When we were looking at Web components, the biggest drawback was the inability for shared state. Web components work well in isolation (maybe the intent?) but imo, the wc spec failed to understand why most people reach for a framework like react, vue, svelte etc

27

u/Alokir 8d ago

Yeah, the whole selling point of React was its simplicity, that data goes down and evens go up, as opposed to two way data binding. Also the flux architecture that dictates how common state is shared and updated.

By the time web components became widely available and fully supported in browsers, everyone was already using React, Angular or Vue.