widgetti / solara

A Pure Python, React-style Framework for Scaling Your Jupyter and Web Apps
https://solara.dev
MIT License
1.65k stars 114 forks source link

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

Closed iisakkirotko closed 3 months ago

iisakkirotko commented 3 months ago

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 https://github.com/widgetti/solara/issues/510 for solara.lab.cookies/headers

iisakkirotko commented 3 months ago

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

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