I have this _app.tsx
function MyApp({ Component, pageProps }: AppPropsWithLayout) {
useEffect(() => {
store?.dispatch(me({}))
}, [])
I see in network tab me
get called 2 times. If I comment it, then 0 times. Why? I thought []
ensure, only once the useEffect
will get called.