preactjs / preact-custom-element

Wrap your component up as a custom element
MIT License
360 stars 52 forks source link

Bring back property binding reflection #44

Closed marvinhagemeister closed 4 years ago

marvinhagemeister commented 4 years ago

Bring back property bindings so that setting properties on the custom element will reflect to the props object inside a Preact component. This PR is build on the changes in an older PR #26 .

Based on #43 . Fixes part of #41 .