Releases: reactive-python/reactpy
0.7.0
IDOM now officially supports referencing arbitrary ES modules as part of its layouts. See the docs for more info.
This release also includes a few other quality of life improvements:
- the
vdom()
constructor now supports passing children as positional arguments outside of a list. This comes with the caveat that element attributes must not contain atagName
key (which seems like a reasonable concession). - update calls can now be made from within separate threads. This means when you define an element with
run_in_executor=True
you'll be able to update it later. Until now updates had to be managed from the thread where the layout's event loop was.
0.7.0-dev.1
We're dropping the 0.6.1 in favor of 0.7.0 version tag since the changes here are large enough to warrant a minor bump rather than a patch. This release includes various fixes and improvements that were a result of expanding test coverage. Better documentation has also been merged in to describe the new way to import ES modules.
0.6.1-a.2
Each client can now pass parameters to an IDOM element via an HTML query. This allows clients to alter the view they receive based on the query. This is used by the multiview()
widget in introduction.ipynb
to allow multiple active views to be accessible at the same time because each cell in the notebook passes a view_id
parameter to the multiview()
widget to specify what element should be displayed.
0.6.1-a.1
Adds ES module support in IDOM. This allows users to more easily leverage the existing javascript ecosystem directly through IDOM's VDOM component interface or by defining their own ES modules which import third part JS libraries.