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
Zalmoxisus
03d1448dc3
Bump redux-devtools-trace-monitor
2019-02-07 02:10:39 +02:00
Zalmoxisus
d3fcbb85d9
Prettify
2019-02-07 02:10:24 +02:00
Mihail Diordiev
2a3f358002
Merge pull request #449 from nndio/deps
...
Fix and update packages
2019-02-07 01:59:57 +02:00
Jhen-Jie Hong
2be2f652d8
[redux-devtools-trace-monitor] StackTraceTab: Make openFile
prop for custom openFile function ( #458 )
2019-02-07 01:58:51 +02:00
Anastasia
2fe48fea56
Merge branch 'master' into deps
2019-02-06 02:03:21 +02:00
nndio
818d685ec7
Update babel
2019-02-06 01:59:55 +02:00
Zalmoxisus
eef342fb64
Bump redux-devtools-instrument
2019-01-26 00:03:25 +02:00
Zalmoxisus
22dc9f259c
Avoid error-polyfill issues
...
Fix https://twitter.com/acemarke/status/1088131480197443584
2019-01-25 23:22:59 +02:00
nndio
6907c48147
Use prettier
2019-01-10 20:51:14 +02:00
nndio
458f9019aa
Fix and unify eslint
2019-01-10 19:23:33 +02:00
nndio
4d03f18bf7
Run jest for all packages
2019-01-09 02:18:30 +02:00
nndio
da72f6778a
Update webpack for all packages
2019-01-09 02:06:21 +02:00
nndio
e2f9bf52b5
Update storybook and fix changes
2019-01-09 01:08:34 +02:00
nndio
b2adfb1238
Fix tests and rewrite to jest
2019-01-08 18:35:12 +02:00
Mihail Diordiev
7c3b78d312
Create umd build for react-json-tree ( #447 )
2019-01-05 19:38:06 +02:00
Mihail Diordiev
e67bc5a622
Merge pull request #445 from reduxjs/redux-devtools-app
...
Move remotedev-app and remotedev-server
2019-01-05 18:49:09 +02:00
Zalmoxisus
6de0b367fd
Add docs for remote monitoring
2019-01-05 18:25:16 +02:00
Zalmoxisus
22dcd97b9b
Open as a standalone electron app
2019-01-05 17:49:52 +02:00
Zalmoxisus
2a35836dab
Drop support for IE8
...
It would fail anyway as `redux-devtools-trace` is using ES6
2019-01-05 17:35:50 +02:00
Zalmoxisus
b00290387e
Open Redux DevTools in browser from cli
2019-01-05 02:53:24 +02:00
Zalmoxisus
2d69d523ed
Prepare since master misses some necessary builds
2019-01-05 02:49:32 +02:00
Zalmoxisus
1382a8fcec
Fix webpack config
2019-01-05 02:05:52 +02:00
Zalmoxisus
8810fe42b6
Serve umd modules for cli
2019-01-04 21:44:48 +02:00
Zalmoxisus
f75d7914e9
Upgrade webpack for redux-devtools-core to fix uglifying umd build
2019-01-04 21:44:26 +02:00
Zalmoxisus
7ef6812ee4
Rename remotedev-server to redux-devtools-cli
2019-01-04 00:58:29 +02:00
Zalmoxisus
4849081263
Merge remotedev-server
2019-01-04 00:30:48 +02:00
Zalmoxisus
9de536fae2
Implement redux-devtools-trace-monitor
2019-01-03 23:02:41 +02:00
Zalmoxisus
1b8a734e2b
Merge remotedev-app in redux-devtools-core
2019-01-03 22:43:56 +02:00
Zalmoxisus
4b9bcf55e6
Fix linting for redux-devtools-core
2019-01-03 17:54:53 +02:00
Zalmoxisus
edd397d7db
Add lint for pre-commit
2019-01-03 17:40:38 +02:00
Zalmoxisus
c9b21a578b
Add prepare and prepublishOnly scripts
2019-01-03 17:34:10 +02:00
Zalmoxisus
9f7f326b94
Update react
2019-01-03 17:28:31 +02:00
Zalmoxisus
a3a5ef2561
remotedev-* -> redux-devtools-*
2019-01-03 17:02:43 +02:00
Zalmoxisus
e020e309ea
Remove electron build
2019-01-03 16:17:47 +02:00
Zalmoxisus
9e9146690c
Move zalmoxisus/remotedev-app
2019-01-03 16:14:25 +02:00
Mihail Diordiev
8449c6a9fd
Add devui package ( #444 )
2019-01-03 15:00:55 +02:00
Paul Rosset
dc26d4c180
Upgrade to react 16.4 for trace-monitor and test-generator ( #443 )
2019-01-02 01:07:16 +02:00
Zalmoxisus
0f0994bdef
[redux-devtools-core] Use nanoid/non-secure
...
As per zalmoxisus/remote-redux-devtools/issues/130
2018-12-27 19:47:46 +02:00
Mihail Diordiev
9237421e6b
Merge pull request #441 from reduxjs/redux-devtools-utils
...
Create redux-devtools-core package
2018-12-27 02:39:51 +02:00
Krishna Sagar R
50618f4e5a
Add website folder created with docusaurus ( #440 )
2018-12-27 02:39:34 +02:00
Zalmoxisus
04673cb032
Add getStackTrace
2018-12-27 01:10:55 +02:00
Zalmoxisus
f18ef4e66e
Create redux-devtools-core and include remotedev-utils
2018-12-27 01:00:29 +02:00
Paul Rosset
96281e9dc2
Fix readme link to original package ( #439 )
2018-12-23 23:49:23 +02:00
Mihail Diordiev
2f91b8765c
Move redux-devtools-test-generator package ( #438 )
...
* Move from zalmoxisus/redux-devtools-test-generator
* Update package and links
* Fix CI
2018-12-23 02:13:56 +02:00
Mihail Diordiev
4f6ac0279a
Change Firefox extension link
2018-12-22 18:47:17 +02:00
Jhen-Jie Hong
476e37a875
Add redux-slider-monitor ( #434 )
...
* Add redux-slider-monitor
* Fix example configuration of redux-slider-monitor
* Fix lint errors
* CI: Run build:all before lint
2018-12-22 16:20:04 +02:00
Mihail Diordiev
e6fdfb9c9e
Merge redux-devtools-log-monitor ( #432 )
...
* Move from gaearon/redux-devtools-log-monitor
* Npm package config and add credits
2018-12-22 02:50:57 +02:00
Mihail Diordiev
89880265a6
Move redux-devtools-inspector package ( #429 )
...
* Move from zalmoxisus/remotedev-inspector-monitor fork
* Fix linting
* Add credits
* Upgrade to react 16
Moved from zalmoxisus/remotedev-inspector-monitor/pull/5
* Upgrade dependences
* Add demo for ES6 map
From
alexkuz/redux-devtools-inspector/commit/9dfaaabcfba7913fd15ee6ee43627e0c
eb1d5c7b
2018-12-22 02:10:49 +02:00
Zalmoxisus
4187bc1797
Bump redux-devtools package
2018-12-21 21:33:07 +02:00