Skip to content
New issue

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

chore(utils): refactor atomWithObservable #599

Merged
merged 2 commits into from
Jul 18, 2021

Conversation

dai-shi
Copy link
Member

@dai-shi dai-shi commented Jul 17, 2021

This makes the implementation close to atomWithQuery in jotai/query.
My hope was to support error retry, but I suppose it's not yet supported with atomWithQuery either.

@vercel
Copy link

vercel bot commented Jul 17, 2021

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/pmndrs/jotai/C8KdM25As3xS4r56vF2kJjxnZiik
✅ Preview: https://jotai-git-chore-utilsrefactor-atom-with-observable-pmndrs.vercel.app

@codesandbox-ci
Copy link

codesandbox-ci bot commented Jul 17, 2021

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 002b121:

Sandbox Source
React Configuration
React Typescript Configuration

@dai-shi
Copy link
Member Author

dai-shi commented Jul 18, 2021

#601 is filed. Let me merge this as this is just refactoring.

@dai-shi dai-shi merged commit 45f18a2 into master Jul 18, 2021
@dai-shi dai-shi deleted the chore/utils/refactor-atom-with-observable branch July 18, 2021 00:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant