How do I setup my Links to prevent remounting of my Scene?
Unanswered
Asiatic Lion posted this in #help-forum
Asiatic LionOP
Hi there. I ran into a rather bizarre quirk.
When I select my
Any ideas on how best to approach this? My idea is to try using
When I select my
Link element in my Nav, my page transitions without unmounting my Canvas. However, when I select the Link in the inner content of my page, the Canvas unmounts then remounts. Is there any reason for this? I tried using React.memo for my Avatar (3d model), which allowed for the smooth page transition using my Nav but the same cannot be said about any of the Link elements within the page (outside of my Nav).Any ideas on how best to approach this? My idea is to try using
React.memo, but then again, I don't understand the need to when the Link behaves as expected in my Nav.