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

Introduce mutation transactions? #156

Open
lifeart opened this issue Jun 3, 2024 · 2 comments
Open

Introduce mutation transactions? #156

lifeart opened this issue Jun 3, 2024 · 2 comments

Comments

@lifeart
Copy link
Owner

lifeart commented Jun 3, 2024

Per-cell time-traveling may not represent business case, it would be great to have mutation transaction to group changes and rollback it per-mutation.
May be related to: #57
By default, it may be eventAction transaction, where multiple items created / mutated in one runloop.

@lifeart
Copy link
Owner Author

lifeart commented Jun 27, 2024

Here is POC - proposal-signals/signal-utils#71

@lifeart
Copy link
Owner Author

lifeart commented Jun 27, 2024

Additional use-case: HMR to keep component state after re-creation

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

No branches or pull requests

1 participant