-
Notifications
You must be signed in to change notification settings - Fork 15
Open
Description
Currently dependent queries can be used only with atomWithQuery.
In the scenario of 2 atoms, we can get the result of the first atom by unwrap which resolves to be undefined/Result. We use the enabled flag on the 2nd atom to make the API request only when its 'Result'
We cannot await because these atoms don't support async getOptions.
purecopy
Metadata
Metadata
Assignees
Labels
No labels