solid-realworld icon indicating copy to clipboard operation
solid-realworld copied to clipboard

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

Open Brendan-csel opened this issue 2 years ago • 2 comments

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. 😅

Brendan-csel avatar Nov 05 '22 01:11 Brendan-csel