widgetti / solara

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

Deprecate use_thread, and take use_task and @task out of lab #784

Open maartenbreddels opened 1 month ago

maartenbreddels commented 1 month ago

Note that use_task should also by default take dependencies=None as argument to be less confusing compare to task (it shouldn't autorun, just be component local)

See https://github.com/widgetti/solara/pull/783 for docs changes related to this

EwoutH commented 1 month ago

We just switched from use_thread to use_task in Mesa. Nice performance improvement!