Is it still necessary to import isNill from lodash.isNill
instad of import {isNil} from lodash
?
#5742
Answered
by
jdalton
seyyedhassanpour
asked this question in
Q&A
-
why we need to use import groupBy from 'lodash.groupby'
import isNil from 'lodash.isnil' instead of below? import {groupBy,isNil} from 'lodash' is this still needed? There are a bunch of different approaches and results and most of the are for 2020, 2019 or older.
And what is the difference between the lodash |
Beta Was this translation helpful? Give feedback.
Answered by
jdalton
Sep 28, 2023
Replies: 1 comment 4 replies
-
For modern environments you should import from lodash-es. import { groupBy } from 'lodash-es' |
Beta Was this translation helpful? Give feedback.
4 replies
Answer selected by
jdalton
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
For modern environments you should import from lodash-es.