The Curious Case of PropTypes

15 July 2020

tl;dr: PropTypes is installed as a dependency and declarations end up in production bundles, yet are only helpful during development. To remove from production bundles use babel-plugin-transform-react-remove-prop-types. Read more

Linting with CSS Modules

22 June 2020

tl;dr: When using CSS Modules, having a CSS syntax linter such as stylelint isn't enough - you also need to use a JavaScript linter such as ESLint with functionality to lint the CSS Module being imported (e.g. eslint-plugin-css-modules). Read more