Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is this really a good example of a real world app? #20

Open
Brendan-csel opened this issue Nov 5, 2022 · 2 comments
Open

Is this really a good example of a real world app? #20

Brendan-csel opened this issue Nov 5, 2022 · 2 comments

Comments

@Brendan-csel
Copy link

Background - this is coming from writing and support (in production) some large commercial Solid applications (150+ routes).

I've also been helping some folks on Discord that are new(ish) to Solid. They are looking at this repo as a pattern to follow and getting very confused by the store state management abstraction introduced here.

Suggestions:

  • add note to README to advise this example may be aging a bit.
  • adopt solid-router.
  • remove central store abstraction in favor of examples of:
    • a simple example of simple global state perhaps via a singleton module export (if this works with SSR?).
    • a simple example of tree specific state using context.
    • example of route specific state.

Perhaps just keeping this issue around may be useful - unless you disagree. 😅

@SonyStone
Copy link

Are there more recent examples of a real world app?
This store is exactly what I'm interested in how to implement in my app.

@darrenbarklie
Copy link

Also arrived here also looking for a good "global store" pattern. Was surprised to see Signals and Resources in use instead of Stores.

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

No branches or pull requests

3 participants