I was using a community component that did not dynamically change a url, so I saw this solution in native but in react web there is a function similar to this?
ex:
InteractionManager.runAfterInteractions(() => { setLoading(false) }
I was using a community component that did not dynamically change a url, so I saw this solution in native but in react web there is a function similar to this?
ex:
InteractionManager.runAfterInteractions(() => { setLoading(false) }
I think, that using listeners to window will help (like window.requestAnimationFrame).