Phillip
Phillip
Try this: const persistConfig = { timeout: 2000, //Set the timeout function to 2 seconds key: 'root', storage, };
> Is the timeout option documented anywhere? I can't find it mentioned anywhere in any of the official docs. What does it actually do? Remember PersistGate delays the rendering of...
> Is there any solution other than guessing a number that could work? Something like "as soon as state is ready, render UI" instead of waiting for a timeout? **persistStore(store,...