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

Several API changes #57

Merged
merged 7 commits into from
Jan 9, 2024
Merged

Several API changes #57

merged 7 commits into from
Jan 9, 2024

Conversation

littledan
Copy link
Member

We discussed these in the call and people seemed to see it as going in the right direction. This PR leaves the README in a very unfinished state; help filling in the algorithms or invariants or usage examples would be appreciated!

- Effects don't have values
- .run() instead of .get() on Effects
- add Effect.prototype.isPending() to reevaluate whether it really should be notified

This is WIP; still working on editing/clarifying algorithms in conjunction with this change.
@littledan littledan merged commit 30639ce into main Jan 9, 2024
1 check passed
@littledan littledan deleted the run-effect branch January 9, 2024 17:04
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