Replace reactpy.event
decorator with event callbacks
#1143
Labels
priority-3-low
May be resolved one any timeline.
type-revision
About a change in functionality or behavior
Current Situation
Currently we utilize a decorator to allow for
prevent_default
andstop_propogation
. But this syntax is pretty awkward.Proposed Actions
Add callbacks to the event object which perform the same function, removing the need for a decorator.
It might also make sense to convert our
event
object fromdict
toobject
usingMunch
, as the dot interface feels a bit more JavaScripty.The text was updated successfully, but these errors were encountered: