2 ms·
So can lodash. That's what the author is doing here by using import throttle from 'lodash/throttle'; rather than import { throttle } from 'lodash';
by tdumitrescu 10y ago
So can lodash. That's what the author is doing here by using
import throttle from 'lodash/throttle';
rather than
import { throttle } from 'lodash';