Hacker News new | past | comments | ask | show | jobs | submit login

I agree, that's why I like styled components so much. It's all based on vanilla CSS - there's no new syntax. I use animations, pseudo-classes, etc all with styled-components. Animations with react are cumbersome. So I try as much as possible to fall back to CSS animations - they yield better perf anyway. With styled components this becomes easier since you can have CSS values derived from React props.



Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: