It's React, but in Python
MIT License
Bot releases are visible (Hide)
Published by rmorshea about 4 years ago
Commits on Sep 13, 2020
Published by rmorshea about 4 years ago
Commits on Sep 12, 2020
Commits on Sep 13, 2020
Published by rmorshea about 4 years ago
Commits on Sep 09, 2020
Commits on Sep 11, 2020
Commits on Sep 12, 2020
Published by rmorshea about 4 years ago
The most recent release of snowpack
allows for many more packages to be installed correctly. For example @material-ui/core
, which previously did not work, now works flawlessly. There are a bunch of internal changes that have been made to enable this upgrade since the 2.x version of snowpack
included a large number of breaking changes. Most for the better though.
Published by rmorshea about 4 years ago
Upgrade anyio
Published by rmorshea about 4 years ago
Renderer
to Dispatcher
- I think this will reduce confusion since the word "render" is used all over to mean different things.AbstractElement
does not need an id
attribute - we can just use id()
instead.Published by rmorshea about 4 years ago
Element render functions are no longer coroutines. To new users async functions don't really seem approachable, plus delayed actions are best left to the use_effect
hook. To compensate we enable the use_effect
hook to support async functions - docs are added to this effect.
Published by rmorshea about 4 years ago
Quick release to publish docs without a mangled dev version visible.
Published by rmorshea about 4 years ago
This is a huge release that reworks much of IDOM to use a React-like Hooks API.
The documentation has been updated to reflect these changes so it's probably best to check the README to learn about the state of the project. In short though...
useContext
given that its most useful in sprawling code-bases. Given that IDOM has no such usage a use_context
hook isn't useful yet.idom.widgets.jupyter.init_display(...)
Published by rmorshea over 4 years ago
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:
vdom()
constructor now supports passing children as positional arguments outside of a list. This comes with the caveat that element attributes must not contain a tagName
key (which seems like a reasonable concession).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.Published by rmorshea over 4 years ago
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.
Published by rmorshea over 4 years ago
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.
Published by rmorshea over 4 years ago
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.