Skip to content

fix: user reactive variables taking on solara builtin variable values on hot reload#514

Merged
iisakkirotko merged 1 commit intomasterfrom
02-21-fix_user_reactive_variables_taking_on_solara_builtin_variable_values_on_hot_reload
Feb 23, 2024
Merged

fix: user reactive variables taking on solara builtin variable values on hot reload#514
iisakkirotko merged 1 commit intomasterfrom
02-21-fix_user_reactive_variables_taking_on_solara_builtin_variable_values_on_hot_reload

Conversation

@iisakkirotko
Copy link
Collaborator

@iisakkirotko iisakkirotko commented Feb 21, 2024

Sometimes on hot reload, when the value of a user-defined reactive variable is reset, the value would get updated to that of a solara builtin reactive variable. We avoid this here by manually fixing keys for our variables

Should fix #510 for solara.lab.cookies/headers

… on hot reload

Sometimes on hot reload, when the value of a user-defined reactive variable is reset, the value would get updated to that of a solara builtin reactive variable. We avoid this here by manually fixing keys for our variables
Copy link
Collaborator Author

iisakkirotko commented Feb 21, 2024

@iisakkirotko iisakkirotko merged commit 58fafa7 into master Feb 23, 2024
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.

hot-reload gives reactives a dict as value

2 participants