D
Dominik 🔮
@tkdodo.eu
Software Engineer • Maintaining TanStack Query • blog at tkdodo.eu • Frontend Tech Lead @myadverity • ReactJs • TypeScript • Father of two 👧👦
587 followers97 following13 posts
oh interesting, does that lift the restriction that hooks can't be called inside a callback in general or is this specific to useMemo I guess ?
yeah specific to useMemo — cause memoizing is the only thing you can do to parts of rendering code (and the compiler does something equivalent)
D
Dominik 🔮
@tkdodo.eu
Software Engineer • Maintaining TanStack Query • blog at tkdodo.eu • Frontend Tech Lead @myadverity • ReactJs • TypeScript • Father of two 👧👦
587 followers97 following13 posts