It's crazy how good the DX and UX for data fetching with React, Suspense, Tanstack Query and useDeferredValue is! I have no idea where I was all along, doing all of this plumbing by myself over and over again. 🤦🏻♂️
@t3dotgg You still need to wrap fetch w/ most of these features (like throw on error), esp. if you want to use it w/ tanstack. I see why someone would want to outsource that to a community thing instead of copy-pasting it from project to project.
@rokas_m https://t.co/LJ71MomjFP
Jie 2019 pagamino 100K mRNA vakcinų, ir kadangi gruodį buvo pirmas outbreak'as, atseit suprato, kad 2020 reiks scale'int produkciją. Realiai, tai nieko, jaučiu, nesuprato, tiesiog CEO labai rūpi laurus prisiimti, matyt dėl to ir mikčioja.
After all these years I still don't understand how I escape the React lifecycle for animations / DOM stuff. Do I just rAF within useEffect and keep all my variables within refs? Or do I useState for animating style properties? It seems to stall quite a bunch if I do the latter.
@DavidKPiano I've settled on using components for reusable primitives (like buttons, selects, checkboxes, etc). Everything else is just a page. UI abstractions tend to leak too much. Everything is kind of the same but not really.
What's a good publishing platform for my dev musings if I want to own the content? Is it still WordPress? Not to keen on Medium, dev[dot]to and the likes. Jekyll on GitHub still seems like too much work on peripherals instead of publishing content.
Hey, @blink182, I've been a huge fan, since forever ago! Your music has helped me get through a lot. I've made this cover of "Dammit", a song that is very dear to me, not too long ago. I hope you guys get to listen to it. ❤️https://t.co/Uf2NEGxzY0
🔥 Hot take: Most people create way too many folders in their projects. Introducing 5 levels of nested folder structure makes things harder to find, not easier.
"Organizing" things doesn't actually make your code better or make you more productive 👀
A follow up on using Redux, and ReduxThunk with TypeScript. This is pretty much what I ended up with, and it seems like the best approach to this day: https://t.co/NDnhYt2PEh
@alekna_info There's just a whole plethora of small issues that all pile up, like the one illustrated. Also, working with redux and data typing everything (actions, action creators, thunks) ain't fun. Looking for some good case studies.