Skip to content

Any recommendations on how to structure complex data? #93

Description

@astoilkov

I'm trying to wrap my head around using signals for our app. Should I use nested signals for complex data?

For example, the todos example. What if I don't want to update all todos when a single todo changes? Should I do the following?

const todos = signal([
  signal({ text, done }),
  signal({ text, done })
])

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions