Permalink
Browse files

Optimize dispatch plain object check (#2599)

* Remove lodash.

This boosts perf by not exhaustively checking every action of it's object-ness. We also no longer need to bundle any of lodash, so this saves a good number of bytes too!

* More robust plain object checks.
  • Loading branch information...
timdorr committed Nov 16, 2017
1 parent 08c12c6 commit 3a17aef0468e279cba048411f8f91dce07c55a7e
Showing with 106 additions and 493 deletions.
  1. +0 −5 .babelrc
  2. +0 −10 build/use-lodash-es.js
  3. +68 −469 package-lock.json
  4. +0 −7 package.json
  5. +1 −1 src/combineReducers.js
  6. +1 −1 src/createStore.js
  7. +14 −0 src/utils/isPlainObject.js
  8. +22 −0 test/utils/isPlainObject.spec.js
View
@@ -27,11 +27,6 @@
}
]
]
},
"es": {
"plugins": [
"./build/use-lodash-es"
]
}
}
}
View

This file was deleted.

Oops, something went wrong.
Oops, something went wrong.

0 comments on commit 3a17aef

Please sign in to comment.