Marcus Hellbergmarcushellberg.dev·Jan 7, 2023Avoiding stale state in React useEffectSometimes it's easy for me to forget I'm using JavaScript when building React apps. I've been using Lit for a long time. In Lit, it's plainly clear that I'm using JavaScript and working with the DOM. In React, that gets abstracted away. But it doesn'...163 readsHillaAdd a thoughtful commentNo comments yetBe the first to start the conversation.