DevTools for Redux with hot reloading, action replay, and customizable UI
Go to file
Kevin Ghadyani 62957d2472
Added ability to display function name as actionType
The normal advice is that `actionType` should be a string. This is purely for debugging purposes. If the tools used for debugging are altered, then it would be easier to use something other than a string.

Using a function means you don't have to have a separate action variable from the action creator itself:
```js
some someActionCreator = () => ({
  type: someActionCreator,
})
```

Redux doesn't care if your action type is a string, object, symbol or whatever. Even @gaearon noted it should be a Symbol for uniqueness, but only said to use strings because of the debugging potential.

Another benefit of using functions is you're only comparing memory references rather than strings. This is a performance boost, but probably not one that will manifest in most applications.

We could even take this further to include `symbol.description` and `classInstance.constructor.name`.

The one downfall is most Redux tooling both utilizes and expects strings. This would need to change. Even `createReducer` would need to take a `Map` of actions instead of an `Object` or this wouldn't work.
2019-10-30 14:28:45 -05:00
docs Use prettier 2019-01-10 20:51:14 +02:00
packages Added ability to display function name as actionType 2019-10-30 14:28:45 -05:00
website Use prettier 2019-01-10 20:51:14 +02:00
.eslintignore Use prettier 2019-01-10 20:51:14 +02:00
.eslintrc Fix and unify eslint 2019-01-10 19:23:33 +02:00
.gitignore Use prettier 2019-01-10 20:51:14 +02:00
.travis.yml Use prettier 2019-01-10 20:51:14 +02:00
.yarnrc Configure lerna with yarn workspaces 2018-12-07 16:44:11 +02:00
babel.config.js Update babel 2019-02-06 01:59:55 +02:00
CHANGELOG.md Update CHANGELOG.md 2015-08-26 20:13:18 +03:00
CODE_OF_CONDUCT.md Use prettier 2019-01-10 20:51:14 +02:00
jest.config.js Run jest for all packages 2019-01-09 02:18:30 +02:00
lerna.json Use prettier 2019-01-10 20:51:14 +02:00
package.json Update babel 2019-02-06 01:59:55 +02:00
README.md Add docs for remote monitoring 2019-01-05 18:25:16 +02:00
yarn.lock Update babel 2019-02-06 01:59:55 +02:00

Build Status PRs Welcome

Redux DevTools

Developer Tools to power-up Redux development workflow or any other architecture which handles the state change (see integrations).

It can be used as a browser extension (for Chrome and Firefox), as a standalone app or as a React component integrated in the client app.

image

Note that this repository is work in progress for the monorepo, which will merge all the packages. Please refer to Redux DevTools Extension and Redux DevTools package.

Documentation

License

MIT