Hacker News new | ask | show | jobs
by gitconnected 3307 days ago
Styles in components are the next pattern to be figured out for components. The considerations should be

1. Styles should only apply to the component that they intend to style 2. Keep styles decoupled from any specific component library 3. There needs to be a communication layer between application interactions and the styles applied 4. Provide scalable patterns 5. Cache styles effectively 6. Chunk styles to optimize site