Skip to content

Feature request: State management through a global store. #930

@ispyinternet

Description

@ispyinternet

as redux is to react and vuex is to vue, I really believe svelte should have its own global state / store implementation that aligns with the core philosophies and concepts of the library.

People are continually questioning these topics in gitter. Nested components demand a data down actions up solution, and the current implementation of having to manually pass data down the chain and pass events back up the chain is lacking and I feel is crying out for a baked in solution. A number of us have hacked our own implementations using redux or similar external libraries, but I feel there is room for improvement if such a solution could be architected in the core that would still align with the pre-compiled no runtime paradigm?

If I knew where to begin I would but its beyond my station.

What are the thoughts of others who understand the challenge better?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions