Skip to content

Conversation

@jbolda
Copy link
Collaborator

@jbolda jbolda commented Sep 25, 2025

Motivation

Revisiting the interest to using a custom store such as yjs as started in #53.

Approach

  • abstract out the store updater, setting the default to match the current implementation
  • add a function initialize that custom stores may need to use
    • note that the current implementation doesn't explicitly require it
    • this can also be used to handle managing effection resources as it gives an explicit "start" to the store
  • spiked out an example to see how the API might feel

TODO

  • types, ugh, perhaps effection v4 will have better types
  • investigate better usage of createSchema with the yjs example

@pkg-pr-new
Copy link

pkg-pr-new bot commented Sep 25, 2025

More templates

npm i https://pkg.pr.new/fxforge/starfx@67

commit: ab499db

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants