Will add actions and reducers and whatnot in subsequent diff. This is minimal change to include primaryIdentityPublicKey in Redux that doesn't break anything (to my knowledge).
Details
Details
Checked Redux DevTools on web and the primaryIdentityPublicKey appeared as expected. Also no flow errors.
Web:
Diff Detail
Diff Detail
- Repository
- rCOMM Comm
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
Comment Actions
Passing back to you with question – not clear why we need to put this in Redux on native given it's already persisted by CommCoreModule
native/redux/redux-setup.js | ||
---|---|---|
135 ↗ | (On Diff #21516) | I'm not sure we should be including this in Redux on native... isn't this handled by the JSI layer? I'd rather not have to worry about two values getting out of sync, but open to an argument for it |
Comment Actions
That's fair, was including on both web and native to keep things symmetrical (even if redundant on native) in case we want to reuse any logic or whatever... but will stick to just web for now.