I created a store using the Persist middleware.
The name of the item is something like an user-ID.
Something like this:
export const userStore = create(
persist(
(set, get) => ({
name: '',
email: '',
}),
{
name: '1234567890'
},
),
)
But if I have many users using the app on same session, I got problem to get and set the right data.
Is it possible to save and get on specific key storage?
New contributor
vitor santana is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.