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

fix: rethrow falsy errors thrown in flushPending #2820

Merged
merged 1 commit into from
Nov 15, 2024

Conversation

dmaskasky
Copy link
Collaborator

Summary

Errors thrown in flushPending are checked for truthyness. This change allows for falsy errors to be rethrown.

Check List

  • pnpm run prettier for formatting code and docs

Copy link

vercel bot commented Nov 14, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
jotai ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 15, 2024 1:15am

Copy link

codesandbox-ci bot commented Nov 14, 2024

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.

Copy link

github-actions bot commented Nov 14, 2024

LiveCodes Preview in LiveCodes

Latest commit: 305d2f7
Last updated: Nov 15, 2024 1:14am (UTC)

Playground Link
React demo https://livecodes.io?x=id/6NR2ANBMX

See documentations for usage instructions.

src/vanilla/store.ts Outdated Show resolved Hide resolved
Copy link
Member

@dai-shi dai-shi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@dai-shi dai-shi added this to the v2.10.3 milestone Nov 15, 2024
@dai-shi dai-shi merged commit 0f05df8 into pmndrs:main Nov 15, 2024
40 checks passed
@dmaskasky dmaskasky deleted the fix/flush-pending-error-handling branch November 15, 2024 01:32
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.

2 participants