react-native-swipe-navigation icon indicating copy to clipboard operation
react-native-swipe-navigation copied to clipboard

Remember state of pages

Open blac3777 opened this issue 6 years ago • 1 comments

I've only been working with react native for the past couple of weeks so forgive me if my question is ignorant...

Is there a way to make the pages behave like drawers in the sense that they never forget their state? I would rather not handle from outside the package (unless doing so is easier than I suspect?)

Say I had main, left, right, and bottom pages and every page had their own text input. I would want to be able to enter something in all 4 text boxes and navigate wherever/however I want w/o the text getting cleared on any of them.

blac3777 avatar Jul 28 '18 02:07 blac3777

In the simple way you can use redux to store you inputs value globaly.

AZZB avatar Jul 28 '18 20:07 AZZB