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: sync effect by default #1

Merged
merged 1 commit into from
Nov 22, 2024
Merged

fix: sync effect by default #1

merged 1 commit into from
Nov 22, 2024

Conversation

dai-shi
Copy link
Member

@dai-shi dai-shi commented Nov 22, 2024

I thought it would be neat to fallback to async effect like Valtio's subscribe does.
But, it's actually confusing and not like other reactive libraries.

This makes it sync by default.

Copy link

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.

@dai-shi dai-shi merged commit 5495225 into main Nov 22, 2024
3 checks passed
@dai-shi dai-shi deleted the sync-effect-by-default branch November 22, 2024 09:54
@dai-shi
Copy link
Member Author

dai-shi commented Nov 22, 2024

Published: https://www.npmjs.com/package/valtio-reactive/v/0.1.1

@transitive-bullshit

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