Best of CSS-Tricks — July 2021
- 1
- 2
CSS-Tricks·5y
Demystifying styled-components
styled-components is a tool that takes arbitrary CSS and assigns it to a React component. By demystifying it, we'll be able to diagnose and fix weird CSS issues with way less frustration. This article is written for experienced React developers. It may surprise you to learn that styled-Components doesn't do anything with the CSS we added to it.
- 3
CSS-Tricks·5y
The Nine States of Design
The nine states of design apply to all designs and all components. These states will repeat based on the page, user interaction, updated data, and pretty much any change of your application’s state. By thoughtfully designing for these changes, you can create a polished experience for users.
- 4
- 5
CSS-Tricks·5y
A shared ESLint configuration
Like our markdown linters, all Mapbox documentation repositories use a shared ESLint configuration. Our configuration covers everything from enforcing React best practices to improving accessibility, including: eslint- plugin-jsx-a11y checks accessibility rules on JSX elements. eslinter-plugin-es allows us to disallow unsupported ECMAScript syntax.
- 6
- 7