widgetti / solara

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

fix: on_kernel_start callbacks accumulated after hot reload #556

Closed maartenbreddels closed 1 month ago

maartenbreddels commented 2 months ago

Introduced in #471 We should remove the on_kernel_start callbacks on a hot reload, but not remove the ones added by the hot reload itself.

TODO: What happens when we import packages that are in site-packages that will not be reloaded?

maartenbreddels commented 2 months ago

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

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

render[bot] commented 1 month ago

Your Render PR Server URL is https://solara-stable-pr-556.onrender.com.

Follow its progress at https://dashboard.render.com/web/srv-co0ma3779t8c73f3092g.