Changing `const lodashMaxBy = require("lodash/maxB...
# prisma-whats-new
d
Changing
const lodashMaxBy = require("lodash/maxBy");
to
import lodash from 'lodash'
fixes the problem, but I don't really want to import all of lodash
a
You can also do
import { maxBy } from 'lodash'
d
Will that have any performance implications by loading all of
lodash
or anything like that?
a
I think not
d
Cool... thanks @agartha!
😎 1