Refactor reactive framework #85

Merged
thesabinelim merged 5 commits from reactive-refactors into master 2023-05-18 02:02:29 +08:00
thesabinelim commented 2023-05-18 01:51:56 +08:00 (Migrated from github.com)

Removed most object-specific extensions in order to produce a more agnostic framework.

Also allows for reactive props to be passed to loadLayout() in imperative code, as long as they're wrapped in functions.

Also removes most specific event registration functions in favour of a generic one that looks for properties starting with "on". It would be worth having another look at this in future to determine a better way, but for now this avoids needing to hard code for each object.

Removed most object-specific extensions in order to produce a more agnostic framework. Also allows for reactive props to be passed to loadLayout() in imperative code, as long as they're wrapped in functions. Also removes most specific event registration functions in favour of a generic one that looks for properties starting with "on". It would be worth having another look at this in future to determine a better way, but for now this avoids needing to hard code for each object.
Sign in to join this conversation.
No description provided.