Artur Kenzhaev, Team Leader at Yandex
React Europe 2019, 23/05/2019
Write semantic markup and styles,
as the soul wants
/ semantic markup
/ semantic markup
/ semantic markup
/ semantic markup
/ semantic markup
/ semantic markup
/ semantic markup
/ examples / css-modules
/ examples / css-modules
/ examples / css-in-js
/ examples / css-in-js
/ examples / dynamic values
/ examples / composition
/ examples / composition
/ examples / styling
/ examples / a11y
/ as the soul wants
Semantics first of all
/ as the soul wants
Semantics first of all
Start with native elements
/ as the soul wants
Semantics first of all
Start with native elements
Start with native and aria attributes
/ as the soul wants
Semantics first of all
Start with native elements
Start with native and aria attributes
Map component state to the markup
/ as the soul wants
Semantics first of all
Start with native elements
Start with native and aria attributes
Map component state to the markup
Match styles on the markup state
/ as the soul wants
Semantics first of all
Start with native elements
Start with native and aria attributes
Map component state to the markup
Match styles on the markup state
Compile-time styles processing and extraction
/ as the soul wants
Semantics first of all
Start with native elements
Start with native and aria attributes
Map component state to the markup
Match styles on the markup state
Compile-time styles processing and extraction
Static styles analysis
/ as the soul wants
Semantics first of all
Start with native elements
Start with native and aria attributes
Map component state to the markup
Match styles on the markup state
Compile-time styles processing and extraction
Static styles analysis
Combine css-modules and css-in-js ways, or choose which fits you better
/ as the soul wants
Semantics first of all
Start with native elements
Start with native and aria attributes
Map component state to the markup
Match styles on the markup state
Compile-time styles processing and extraction
Static styles analysis
Combine css-modules and css-in-js ways, or choose which fits you better
All the benefits of the PostCSS ecosystem
/ framework agnostic
Artur Kenzhaev, Team Leader at Yandex