You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor(lodash): Removes most of the lodash dependencies in favor of native js (#117)
* refactor(lodash): Removes most of the lodash dependencies in favor of native js
Most of these lodash dependencies have a native replacement. The only reason they seem to have been used was to wrap the natives with safe checks and returns.
For example the use of `_forEach(list, () => ...)` is a safe version of:
```
(list || []).forEach((item) => ...);
```
Lodash protects against undefined, null. Others such as _.map also protect by returning an empty map so that chaining is safely allowed, some es6 doesn't allow native.
* Version bump to 2.1.0 in prep of release
0 commit comments