I noticed in the document the default success and error suffix for action types are mentioned and exported from getActionTypes.js. But in index.js the 2 default suffix constants are not exported.
This makes developers to maintain 2 more hardcode constant in their code. However I wish I could use the default constants rather than hardcode.
I noticed in the document the default success and error suffix for action types are mentioned and exported from
getActionTypes.js
. But inindex.js
the 2 default suffix constants are not exported.This makes developers to maintain 2 more hardcode constant in their code. However I wish I could use the default constants rather than hardcode.