How to Simplify Stateful CSS Styles
Use data attributes and state machines to simplify your styling
Tags: react, statemachines, css, animation