Firstly, it's entirely possible that I've done something wrong here, so apologies if so!
I've noticed that if I'm calling useAtomsDevtools() from inside of React.StrictMode then I get two different stores showing up in the Redix Dev Tools, where the one that is selected by default is not useful:
Hi there,
Firstly, it's entirely possible that I've done something wrong here, so apologies if so!
I've noticed that if I'm calling
useAtomsDevtools()
from inside ofReact.StrictMode
then I get two different stores showing up in the Redix Dev Tools, where the one that is selected by default is not useful:If I move it around so that
useAtomsDevtools
is instead outside of theReact.StrictMode
then everything works as expected:I assume this is because
React.StrictMode
does the double-render trick to catch certain issues, but it seems to have a negative effect in this case.Cheers