Replies: 2 comments
|
Wow, I would say you are doing it very well. I don't see any issues, tbh. I have some comments:
|
0 replies
|
Great comments, I think the current API is enough and proper, but the default value looks like a good idea. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I wanted to start a discussion around the
jotai/queryintegration and get some conversion around how it should be framed and built. I recently refactored all the state to use jotai + atomWithQuery for this site -> https://stacking.club which is a next.js based app.I really love the integration with react-query, however I had to jump through some hoops to get a reliable and good experience with SSR.
Below I've included 3 code snippets:
atomFamilyWithQueryI'm wondering if we should change the API of atomWithQuery to make this easier for folks, or to have some of this behavior baked in? cc @dai-shi @Aslemammad
atomFamilyWithQueryUsage
In a next.js page
All reactions