Closed maartenbreddels closed 1 year ago
@kolibril13 what do you think? Should we merge this?
How about a v0.3.0 release to ship this feature? :)
I want to have the set change in. I think for backwards compatibility we keep both on and set_, what do you think? But it requires some docs changes as well.
Having _set
in the next release sounds great!
I think there are only very few people using ipyreact right now, so backwards compatibility is not too important in my opinion.
Having both options available might cause more confusion than convenience.
Another idea would be to have a deprecation warning when one tries to use on_.
See https://github.com/widgetti/ipyreact/pull/27
Do you have time to pick up the docs/example changes?
Btw, I hate breakage, even if 2 people use it :)
Yep, just changed all the examples, and I think we are at least 3 people! :)
0.3 is out 🥳
We have a similar feature in ipyvue. Would be great if we can agree on this API with anywidget. cc @manzt