reagent

κΉ€νƒœν¬(taehee kim) 2024-02-24T08:32:32.044489Z

dvingo 2024-05-02T12:38:27.604419Z

I am not familiar with any other attempts at this but I've been thinking along those lines as well. The other idea I had was using xstate for this as I just wanted the query caching and refresh logic, not the react hook interface. Some prior art here https://imfeld.dev/writing/swr_with_xstate

πŸ‘€ 1
dvingo 2024-05-02T12:39:32.405619Z

I'm curious with query-core are you planning to store js data structures or cljs data structures?

κΉ€νƒœν¬(taehee kim) 2024-05-02T12:43:16.344829Z

oh, it looks cool! πŸ™‚ I succeeded. @tanstack/query-core with reagent reaction. I'm using it in our production project. it stores cljs data structure. (without tanstack query's structure sharing)

dvingo 2024-05-02T12:45:14.410699Z

nice! that's good to hear :) seems like a nice quick setup that should work well

1
κΉ€νƒœν¬(taehee kim) 2024-05-02T12:48:38.245089Z

yeah. I can use reaegnt reaction with deref @. I don't mind rules of Hooks (until new react 18 features...)