feathers
feathers copied to clipboard
refactor: reduce usage of lodash
- import from lodash submodules directly where possible
- use
const { provider, ...rest } = paramsinstead ofomit - use
{ ...params, query: { ...params.query, provider } }instead ofmerge - rm useless
flatten - use
.filter(Boolean)instead ofcompact(). could be improved with a typesafeIsNonNullablefunction - use
() => {}instead ofnoop
Deploying feathers-dove with
Cloudflare Pages
| Latest commit: |
10b7696
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://4a45c9ff.feathers.pages.dev |
| Branch Preview URL: | https://refactor-reduce-lodash-usage.feathers.pages.dev |
Great, I've been meaning to look into this so thank you for doing that.