Closed samuelstroschein closed 2 weeks ago
@nils.jacobsen i assigned you to see that this issue wis worked on. i think you duplicated it somewhere else?
I'm actually not sure if we need the wrapping component, because its super easy to wire the things up. 👍
let's go without a wrapping component then. we can introduce it at a later point in time if it's required
Context
We eventually need unbundled editing components to unblock diffing components, slotting, and more complex application UIs.
A reason against unbundling is the amount of business logic the component does at the moment. I looked into the component and found:
BundleNested
and scheduling updates due to the mutations.insert, update, delete
events. That's redundant. Onechange
event is enough to trigger inserts, updated, or deletions with SQLite.Optimierung der Logik in Unbundled Components
Proposal
Unbundle the components and offer an opinionated wrapper "starter" component for apps.
Additional information
Here is the API I came up with in the loom.
insert, update, delete
events. just havechange
event like most HTML elements