-
Notifications
You must be signed in to change notification settings - Fork 1
Closed
Labels
enhancementNew feature or requestNew feature or request
Description
Bring back the explicit event sink createListener and add a createMutationListener.
Currently side effects in event handlers are executed immediately, causing the order of execution to be a factor.
The current idea is to perform side effects in explicit sinks so that their timing and order can be controlled.
Event transformations will be pure and non-effectful functions. State updates will live in createMutationListener (think createRenderEffect), and user defined side effects in createListener (think createEffect).
All listeners will be queued in separate queues. Once all the pure derivation is complete, mutation listeners will be run in a solid batch, and finally user defined listeners (once solid's queue is flushed).
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request