Skip to content

Commit c34941b

Browse files
authored
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 6397d91 commit c34941b

File tree

8 files changed

+106
-493
lines changed

8 files changed

+106
-493
lines changed

.babelrc

Lines changed: 0 additions & 5 deletions
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

Lines changed: 0 additions & 10 deletions
This file was deleted.

0 commit comments

Comments
 (0)