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

feat: run side effects when reactive variable change #474

Draft
wants to merge 1 commit into
base: 01-19-feat_reactive_task_decorator_re_runs_a_task_when_a_dependency_changes
Choose a base branch
from

Conversation

maartenbreddels
Copy link
Contributor

Exposed as a decorator:
solara.lab.reactive_effect

The return value of the decorated function is can be a cleanup
function, similar to solara.dev/api/use_effect

Copy link
Contributor Author

maartenbreddels commented Jan 19, 2024

Warning

This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @maartenbreddels and the rest of your teammates on Graphite Graphite

Exposed as a decorator:
solara.lab.reactive_effect

The return value of the decorated function is can be a cleanup
function, similar to solara.dev/api/use_effect
@maartenbreddels maartenbreddels force-pushed the 01-19-feat_reactive_task_decorator_re_runs_a_task_when_a_dependency_changes branch from f0b4019 to 3760636 Compare March 10, 2024 21:23
@maartenbreddels maartenbreddels force-pushed the 01-19-feat_run_side_effects_when_reactive_variable_change branch from 203e2d2 to 2853b61 Compare March 10, 2024 21:23
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.

None yet

1 participant