Even wondered why useEffect has so many rules around it? I tried to answer this question! dorshinar.me/posts/why-us...
Dor Shinar
Dor Shinar
@dorshinar.me
I engineer the software. Mostly TypeScript and React. Yalla Maccabi! dorshinar.me
70 followers226 following156 posts
Dor Shinar reposted
Dor Shinar reposted
Very interesting read While reading it I had a thought - why do we have <input type=“radio”> but <select>? Why not <radio> or <input type=“select”>?
Multi-State Buttons Typically, buttons are either pressed or they aren't. But as long as you handle it accessibly, you can make a group of radio inputs look like a multi-state button with some CSS trickery.
Devs: we want better tools for CSR Framework devs: Here’s SSR Devs: We want CSR FDs: here’s a fullstack framework Devs: Our server’s in another language FDs: Try RSC Devs: *use @tanstack.com query*
Dor Shinar reposted
Dor Shinar reposted
When determining if I can use a feature, a baseline of 95% in caniuse is usually fine Below that I’ll go and check out analytics to see what browsers my users use Below 90% is usually a no-go zone, unless it can be easily polyfilled
If caniuse says 95% I am usually fine with that, if it’s around 90% I’ll go and check what browser versions my users use and polygill as needed
Dor Shinar reposted
I wonder what makes @bsky.app decentralized *now* I see many people bring it up, but I can’t see why Can you setup indie servers and connect? Can you store your posts in a DB you own? Bluesky is open source which is great, but that does not automagically imply decentralized
Dor Shinar reposted