Skip to content

M3 Developer Gotchas

Jack Reed edited this page Apr 2, 2019 · 1 revision

Using lodash

Using lodash is perfectly acceptable in Mirador. Some of our dependencies already require it. One gotcha though is we need to import individual functions like this:

import flatten from 'lodash/flatten';

This will keep our build smaller.