-
I have a simple component that takes a url as as prop and a useEffect which makes an expensive network request. How can I prevent the component from unmounting/remounting so it does not make the network request everytime I resize the tab? This is normally not a problem, but seems to be caused by nesting Layouts |
Beta Was this translation helpful? Give feedback.
Answered by
agustaf9
Jun 16, 2023
Replies: 1 comment
-
Using the sublayout example worked |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
agustaf9
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Using the sublayout example worked