r/Clojure • • Oct 20 '25

Data fetching with Suspense & useTransition | UIx/React

https://www.youtube.com/watch?v=SP-b8A9CLmA
16 Upvotes

2 comments sorted by

View all comments

Show parent comment

2

u/roman01la Oct 21 '25

Yeah it’s a bit confusing that you need to cache a promise/resource (which makes sense, since components can rerun) and can’t use it directly in the same component where it was created