Skip to content

Why global store? #302

Closed Answered by bencroker
dkotik asked this question in Q&A
Dec 2, 2024 · 1 comments · 2 replies
Discussion options

You must be logged in to vote

This is by design. Store values are nestable, which is the easiest way to “scope” things when necessary.

For example:

<div data-store="{form1: {field1, field2}}"></div>

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@dkotik
Comment options

@bencroker
Comment options

Answer selected by bencroker
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants