Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

How to unmount inactive screens in bottom tab react native

You can unmount screens in bottom tab by adding option in navigation screenOptions:

unmountOnBlur: true
You can do it in Tab & Drawer Navigations but not in Stack Navigation.

And you can also add unmount individual screen by adding same option in Tab or Drawer Screen option.
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #How #unmount #inactive #screens #bottom #tab #react #native
ADD COMMENT
Topic
Name
6+4 =