You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Following the setup in the readme, I've ran into a strange problem that having the useTranlsation in the root.tsx causes it to render 2x.
I'm not talking about the strict mode double render, it's doubling up on that!
So having a console.log in the root.tsx's App() would trigger 4x.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hey all.
Following the setup in the readme, I've ran into a strange problem that having the useTranlsation in the root.tsx causes it to render 2x.
I'm not talking about the strict mode double render, it's doubling up on that!
So having a console.log in the root.tsx's App() would trigger 4x.
Has anyone run into this? Is there a solution?
Beta Was this translation helpful? Give feedback.
All reactions