We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
jotai/src/react/useAtomValue.ts
Lines 42 to 51 in 8147e7b
if this code is kind of like https://reactjs.org/docs/concurrent-mode-suspense.html#approach-3-render-as-you-fetch-using-suspense , The following code is correct probably.
if (promise.status === 'pending') { attachPromiseMeta(promise) throw promise } else if (promise.status === 'fulfilled') { return promise.value as T } else if (promise.status === 'rejected') { throw promise.reason }
The text was updated successfully, but these errors were encountered:
sorry, I'll try again.
Sorry, something went wrong.
No branches or pull requests
jotai/src/react/useAtomValue.ts
Lines 42 to 51 in 8147e7b
if this code is kind of like https://reactjs.org/docs/concurrent-mode-suspense.html#approach-3-render-as-you-fetch-using-suspense ,
The following code is correct probably.
The text was updated successfully, but these errors were encountered: