Skip to content

Enabling devtools -- incorrect docs? #89

Answered by simon3495
simon3495 asked this question in Q&A
Discussion options

You must be logged in to vote

Figured it out, the name is simply the name of the store, and then you just put enabled: true, and then you can see the zustand state in the redux dev tools. So:

	createStore("UserData")<UserData>(defaultValues, {
		devtools: {
			name: "UserData",
			enabled: true,
		}
	});

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@simon3495
Comment options

Answer selected by simon3495
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