roadmanfong / zustand-persist

Persist and rehydrate state
MIT License
119 stars 13 forks source link

Error: LoadManager class not created #2

Closed yehonadav closed 4 years ago

yehonadav commented 4 years ago

image

this error pops up when there are 0 stores imported in the app: image

i would suggest creating a default loadManager, just so the app does't break if let's say i have a build that doest not need persistent. Possibly get rid of the PersistGate would be even better if possible

yehonadav commented 4 years ago

if i import the configured persist my app crash completely but no error is presented: image

image

yehonadav commented 4 years ago

for now just importing an empty store solves this image

image

roadmanfong commented 4 years ago

I'll take a look later