Skip to content

How to better support multiple stores with the same functionality in the same component. #2765

Closed Answered by posva
wucheng666 asked this question in Help and Questions
Discussion options

You must be logged in to vote

If the state used by the component is not used anywhere else in the app, just use a composable (that will be local to the component) and ditch the store. If not, then use a Map in the store and generate uuids when creating the components to ensure a specific data set for different components.

Replies: 1 comment 2 replies

Comment options

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

@posva
Comment options

posva Sep 7, 2024
Maintainer

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