1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00
metamask-extension/ui/app
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
..
components Show correct description for empty Connected Sites modal (#8298) 2020-04-08 10:14:54 -02:30
contexts Migrate "i18n-provider" to new context API (#8213) 2020-03-23 14:07:05 -03:00
css Change fa-refresh to fa-sync (#8301) 2020-04-07 14:51:22 -07:00
ducks Move action constants to separate module (#8308) 2020-04-08 21:35:37 -03:00
helpers Connected status indicator (#8270) 2020-04-01 16:14:59 -02:30
pages Fix Connected Sites data selector (#8310) 2020-04-08 20:38:48 -02:30
selectors Tidy getAccountsWithLabels selector (#8311) 2020-04-08 20:45:36 -02:30
store Move action constants to separate module (#8308) 2020-04-08 21:35:37 -03:00