1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-27 12:56:01 +01:00
metamask-extension/ui/app/ducks
Mark Stacey b0b99fa748
Move action constants to separate module (#8308)
The "global" action constants (the ones previously in `actions.js`)
have been moved to a separate module. This was necessary to avoid a
circular dependency in an upcoming change that was causing problems.

In general the "ducks" pattern of organizing Redux stores does result
in circular dependency problems. This is because reuse of actions
between reducers is encouraged, so it's not uncommon for two reducers
to want to reference an action from the other. Going forward we can
avoid this problem by moving action constants that are shared between
reducers into this shared module.
2020-04-08 21:35:37 -03:00
..
app Move action constants to separate module (#8308) 2020-04-08 21:35:37 -03:00
confirm-transaction Enable arrow-parens ESLint rule 2020-02-15 17:04:21 -03:30
gas Enable core ESLint no-mixed-operators rule 2020-02-17 21:06:36 -03:30
locale Move action constants to separate module (#8308) 2020-04-08 21:35:37 -03:00
metamask Move action constants to separate module (#8308) 2020-04-08 21:35:37 -03:00
send Update ESLint rules for test suite (#8023) 2020-02-11 13:21:13 -03:30
index.js Use combineReducers for rootReducer (#7964) 2020-02-06 13:08:14 -03:30