We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I've seen that this project is using lodash. Maybe it will better to use lodash with "cherry pick" import to reduce the bundle size.
For example instead of using
import _ from 'lodash' _.random()
Use this instead
import random from 'lodash/random'
The text was updated successfully, but these errors were encountered:
Can also use import { random } from 'lodash' and use babel-plugin-lodash
import { random } from 'lodash'
babel-plugin-lodash
Sorry, something went wrong.
Yesterday, I tried to add gatsby-lodash-plugin main problem is they don't allow us to use _.chain. So we need to change it to _.compose instead.
gatsby-lodash-plugin
_.chain
_.compose
Use flow instead of _.chain krub and other functions from lodash/fp instead of lodash.
flow
lodash/fp
lodash
No branches or pull requests
I've seen that this project is using lodash. Maybe it will better to use lodash with "cherry pick" import to reduce the bundle size.
For example instead of using
Use this instead
The text was updated successfully, but these errors were encountered: