Closed unjapones closed 5 years ago
Approved because my request shouldn't block this PR, but I think it's small and important enough to do it here.
I'd approved this pr, @unjapones once you decide to resolve or not the conversation with @fvictorio feel free to close the pr
Use
{namespace}/{NOUN}_{verb}
convention for redux action types.Some action types related with an async fetch should add:
_request
,_success
andfailure
suffixes accordingly.@@0x-launch-kit-frontend
(too long, and probably dependencies/libs are already doing that).Some action types do not involve a NOUN, for example;
INITIALIZE_BLOCKCHAIN_DATA
becameblockchain/init
.Note that, as we continue to change/improve the interaction with the store, the names of the action types may not stick 100% to this convention. This is a starting point though.
Just in case, the actions log in redux dev tools like like this: