@leejjon.bsky.social

📚 Creating thin abstractions is easy, until you’re trying to build them on top of functions that heavily rely on generics. Then it can quickly turn into a nightmare. I wrote about the tradeoffs of wrapping useQuery and why type inference makes this trickier than it looks.

Creating Query Abstractions

Building reusable abstractions on top of libraries that rely on type inference can be deceptively difficult, which is why we need better ways to build those abstractions ...

tkdodo.eu

I dislike choices that ESLint makes by default. The fourth option looked weird to me, but it's the only way to let a button call an async function without ESLint complaining. I could not find anything about this in the TS docs. Turns out it's a JavaScript operator. #typescript #eslint #react

BildBild

Pro tip in #IntelliJ; disable the "Restore workspace when switching branches" checkbox. I got frustrated so many times when I have some files open, switch branches and then IntelliJ closes my files and starts opening files that I had open when I last checked out that branch.

Bild

I think a blog post about programming needs to have a working code example that proves the point. I typically use a Pokemon or GoT API to have some fun sample data. For my next post things got a little bit out of hand and I got sidetracked into building a Pokemon game #frontend

Bild

Took me quite some hours to realize this error wasn't about my latest app version, but that I had some old versions that were still on the play store (that supported older android versions). I couldn't get rid of that warning unless I deleted the old versions. #android #libgdx #playstore #16kb

Bild