rt2zz/redux-persist

Better docs for PersistGate onBeforeLift

Open

#944 opened on Dec 11, 2018

 (1 comment) (7 reactions) (0 assignees)TypeScript (842 forks)batch import
docsgood first issue

Repository metrics

Stars
 (12,958 stars)
PR merge metrics
 (PR metrics pending)

Description

We should document if and how an async function (i.e. a Promise) can be passed to onBeforeLift. I.e. example code for what's trying to be done here: #921

Where to update: https://github.com/rt2zz/redux-persist/blob/master/docs/PersistGate.md

Contributor guide