Critical error occured


We have been getting this error from time to time if published using build 2.8x+. Which led to the app crashing quite frequently on Android.

Please have a look at it

“com.facebook.react.uimanager.illegalviewoperationexception trying to update non-existent view with tag”

Solved it

I made a component that should only appear after the sidebar button is pressed, which will cover the whole window. And pressing the component will make the sidebar disappear

But it seems like part of the logic of the hidden component was activated when I touch the sidebar menu even when it shouldn’t. I solved it by making a condition that the logic flow for the hidden component should only proceed if the sidebar menu is true.

That avoids the crashing