rt2zz / redux-persist

persist and rehydrate a redux store
MIT License
12.94k stars 866 forks source link

[v5] Resume alternative for v5 #561

Open destruc7i0n opened 6 years ago

destruc7i0n commented 6 years ago

With the persistor.resume() function being removed in v5 and not really documented, is the current replacement persistor.persist()? Was a little confused when I saw that it was removed without any documentation.

rt2zz commented 6 years ago

correct, persistor.persist() is the new resume - persist method was required for codeplitting, and since the implementation would be identical we decided to simply omit resume. Agreed this should be in the docs.