Skip to content

Commit 3a17aef

Browse files
committed
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.
1 parent 08c12c6 commit 3a17aef

8 files changed

+106
-493
lines changed

.babelrc

-5
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,6 @@
2727
}
2828
]
2929
]
30-
},
31-
"es": {
32-
"plugins": [
33-
"./build/use-lodash-es"
34-
]
3530
}
3631
}
3732
}

build/use-lodash-es.js

-10
This file was deleted.

0 commit comments

Comments
 (0)