So my question is quite simple.
I have a navigation by react-navigation. Scenario
- navigate from screen A to screen B.
- each components in screen B are mounting / creating - go back from B to A
- each components from screen B are unmounting - navigate once again from A to B
- each components from screen B are mounting again.
IS there any way to prevent that? Data are not a problem, Im keeping them in redux store. The case is with components.
In my app user will keep switching between two screens, and I do not want to build one of them every single time.
Any ideas?