Teemu Taskula
banner
teemutaskula.com
Teemu Taskula
@teemutaskula.com
Building delightful web apps primarily with React, Node.js and TypeScript 💻📱✨
👨‍💻 Dev tip: Display flag emoji for given country code

I love using chatgibidi for problems like these where there is no point trying to figure it out yourself as it is not really an interesting/educational problem to solve.
December 30, 2024 at 10:38 AM
Just removed all `forwardRef`s from my current work project
December 23, 2024 at 12:32 PM
Okay this is super embarassing... I swear I tried to use `useDeferredValue` with `useReadQuery` and it didn't work but now that I try it in my repro instead of the project code it actually works and the suspense fallback is not shown 😅

However the `isPending` flag doesn't seem to work 🤔
December 16, 2024 at 10:06 AM
Maybe I'm doing it wrong but adding `.toPromise` doesn't seem to help 😅

I tried even to update to React v19 to get async transition support but that didn't change anything.
December 9, 2024 at 8:14 PM
Thanks for the input @tkdodo.eu 👍

We already have a custom version of `useSuspenseQuery` that handles the re-suspension issue but @phry.dev is it possible to do something similar with `useReadQuery`? Or what would be the best pattern to use Suspense with loaders that are driven by url params?
December 9, 2024 at 7:49 PM
@en-js.bsky.social is merging refs problematic for React Compiler?

I just added the `eslint-plugin-react-compiler` to our project and it is complaining about `mergeRefs([inputRef, ref]` 🤔

We use this lib to merge refs: github.com/gregberge/re...
December 5, 2024 at 2:39 PM
This is the Year in Review I'm the most excited about!

Year ago I broke my knee (again) and had acl surgery so my gym routines have been quite legs heavy.

It's so cool to see this kind of a recap with the Hevy app. Very happy about the results this year 💪😊
December 5, 2024 at 9:09 AM
December 4, 2024 at 6:15 PM
We won the 2nd place in Junction hackathon 🥈

So proud of our team ❤️

Checkout the demo video of our hack: vimeo.com/1028091814
November 10, 2024 at 7:36 PM
We made it to the Junction hackathon finals!

Wish us luck 🤞

Live stream starting soon: youtube.com/live/I2Lg3Y0...

Our project is called Sonaptics and you can see a quick demo video here: vimeo.com/1028091814
November 10, 2024 at 12:44 PM