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

state: _init_mutable_fields for backend vars as well #1729

Merged
merged 3 commits into from
Aug 31, 2023

Conversation

masenf
Copy link
Collaborator

@masenf masenf commented Aug 31, 2023

ensure that backend var list, dict, and set are re-assigned as special reactive containers that can track modifications

fix #1727

masenf added 3 commits August 31, 2023 06:38
ensure that backend var list, dict, and set are re-assigned as special reactive
containers that can track modifications

fix #1727
Copy link
Contributor

@picklelo picklelo left a comment

Choose a reason for hiding this comment

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

Looks good - we should add some unit tests in a follow up

@picklelo picklelo merged commit 9786913 into main Aug 31, 2023
34 checks passed
@picklelo picklelo deleted the masenf/mutable-backend-var branch August 31, 2023 22:50
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.

Backend vars of a state are not converted to special ReflexList/ReflexDict/ReflexSet instances
2 participants