Here’s the full list of our tips and what to check to do a better React Code Review:
- Are there any new npm packages added?
- Check if there is no functionality duplicates like
date-fns+moment. - Also check for imports, as sometimes tree shaking is not working as you wish, and you could bundle the whole library and use just a single method like the below:
import _ from 'lodash';
//should became more precise import like:
import uniq from 'lodash/uniq';