cozemble / monorepo

A data and process canvas
https://cozemble.com
Apache License 2.0
13 stars 1 forks source link

Drop need for change events in property configurers #62

Closed mike-hogan closed 1 year ago

mike-hogan commented 1 year ago

Events were settled on to enable sql schema migrations, but they have been binned.

Events are still nice for history and undo etc.

But can we keep the best of both worlds by either:

  1. Providing the property as a Writable to the Configurer, and subscribing to changes
  2. Using something like valtio to achieve the same
mike-hogan commented 1 year ago

https://www.npmjs.com/package/on-change

mike-hogan commented 1 year ago

Done