Skip to content

Can i have 2 instances of initializeMMKVFlipper #11

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

You must be logged in to vote

I think yes, the code below is how i implemented that functionality in a utils folder

export function initializeDevTools() {
	console.info('Dev tools initialized successfully 🚀👨🏽‍💻👾');
	initializeMMKVFlipper({
		stateStorage,
		apolloStorage,
	});
	apolloDevToolsInit(client);
}

And then u calle it inside the app.tsx file

if (__DEV__) {
	initializeDevTools();
}

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by KROSF
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
Converted from issue

This discussion was converted from issue #9 on November 15, 2023 10:17.