I had question!
For example we have a store with
{
auth:..
books:..
authors:...
notifications:...
}
And i want auth,books, authors and notifications to be persisted but!
Notifications should not immediately be rehydrated on app launch.
I want notifications to only be loaded from storage if i press the notifications screen for exampel
Hello
I had question! For example we have a store with { auth:.. books:.. authors:... notifications:... }
And i want auth,books, authors and notifications to be persisted but!
Notifications should not immediately be rehydrated on app launch. I want notifications to only be loaded from storage if i press the notifications screen for exampel
const {rehydrate} = usePersist();
useEffect(()=>{ if(variable){ rehydrate('notifications') } },[])
Is there something like this in redux-persist?