Liskovโs Gun: The parallel evolution of React and Web Components
https://www.baldurbjarnason.com/2024/liskovs-gun/
This is a bit of an experiment. Probably the longest essay I've published directly on my website. ๐
Liskovโs Gun: The parallel evolution of React and Web Components https://www.baldurbjarnason.com/2024/liskovs-gun/ This is a bit of an experiment. Probably the longest essay I've published directly on my website. ๐ 14 comments
@bkardell I jotted down the first few notes that ultimately led to the essay on the 3rd of October. So, six days? Probably should have baked it for longer ๐ @baldur can't claim to have read it all in detail (will bookmark), but I agree with a lot of what's being said and like your take in considering the nuance of all this. There seems common threads in people's takes on this. Another prescient concern is the UX trade offs of [the lack of] progressive enhancement. Would be interested to know if you've looked at 'Marko' and have a take on it as something of a React alternative: @stew_sims Only had a quick glance at it a while back. Looked interesting but didnโt quite fit my needs at the time. ๐๐๐ป @baldur I've already laughed audibly a few times during this and I'm only about 40% of the way through it. @baldur Fantastic post. My only minor quibble is that I do think the React team has kept innovating โ concurrent rendering and RSCs come to mind. Although I'm not convinced the first is a great idea (https://nolanlawson.com/2022/10/22/style-performance-and-concurrent-rendering/) and the second seems to be heavily dividing the React community, I have to give them credit for having the guts to try new stuff even though they're the clear market leader. @baldur BTW I never understood the whole Liskov substitution thing until this post. It's not just a problem for built-ins, but also web component libraries that allow subclassing. Any change to the superclass is effectively a breaking change unless the subclass automatically gets the new behavior somehow (e.g. super.connectedCallback). @baldur +1 on the laughs sprinkled into a piece with great webdev insights and excellent cross-pollination of CS and SE thoughts throughout. The experiment was successful from my PoV. |
Couldn't come up with a nice linkbait-y title for this one, so ended up with a relatively sensible one that probably downplays the number of hot takes and swearing in it ๐