> In Redux, there are actions, which are strings, that get passed to a
> reducer, which mutates the states. My coworker and I inadvertently added the
> same action name, "LOADING" on the same page, but in two different files.
> This led to a bug when both my modal and his search results
Have you seen https://github.com/rbuckton/proposal-enum? The champion is a
TypeScript member, so he already had experienc with enums.
On Sun, Jun 10, 2018 at 5:44 PM kai zhu wrote:
> In Redux, there are actions, which are strings, that get passed to a
> reducer, which mutates the states. My
2 matches
Mail list logo