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 hot reload esm modules were created multiple times #559

Closed maartenbreddels closed 2 months ago

maartenbreddels commented 2 months ago

This was causing frontend code to sometimes use the old version, and sometimes the new version. With antd and theming sometimes the theme would not be applied (antd would probably not recognize the theme object with from the old antd esm).

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