Open Leechael opened 2 years ago
As we discuss at Twitter, protential solution include Jotai & react-query.
For Jotai, we can use initialValues: https://github.com/pmndrs/jotai/issues/340
For react-query, we can use QueryClient.prefetch / QueryClient.setQueryData, but it's a bit complicants & depends on the scenario.
Thank you, @Leechael! I'll consider this!
As we discuss at Twitter, protential solution include Jotai & react-query.
For Jotai, we can use initialValues: https://github.com/pmndrs/jotai/issues/340
For react-query, we can use QueryClient.prefetch / QueryClient.setQueryData, but it's a bit complicants & depends on the scenario.