Page MenuHomePhabricator

Make sure drafts are not persisted via redux-persist but a placeholder is created upon rehydration
ClosedPublic

Authored by marcin on Nov 16 2022, 4:33 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Apr 27, 7:14 AM
Unknown Object (File)
Fri, Apr 5, 5:13 PM
Unknown Object (File)
Fri, Apr 5, 6:15 AM
Unknown Object (File)
Wed, Apr 3, 4:52 AM
Unknown Object (File)
Wed, Apr 3, 4:52 AM
Unknown Object (File)
Wed, Apr 3, 4:52 AM
Unknown Object (File)
Wed, Apr 3, 4:52 AM
Unknown Object (File)
Wed, Apr 3, 4:52 AM
Subscribers

Details

Summary

This differential prevents drafts from being persisted in redux persist

Test Plan

Make sure eslint and flow do not point errors. This is trival test plan, but no other is possible before we implement relevant reducers.

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Harbormaster returned this revision to the author for changes because remote builds failed.Nov 16 2022, 4:35 AM
Harbormaster failed remote builds in B13466: Diff 18465!
ashoat requested changes to this revision.Nov 16 2022, 7:18 PM
ashoat added inline comments.
native/redux/persist.js
422–433 ↗(On Diff #18469)

Just add draftStore to the blacklist please

This revision now requires changes to proceed.Nov 16 2022, 7:18 PM

Add draftStore to blacklist instead of using unnecessary custom trahsform

This revision is now accepted and ready to land.Nov 17 2022, 9:52 AM

On the web side, we'll want to do the opposite and add this to the whitelist