Skip to content
Marlo Longley edited this page Dec 20, 2024 · 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.