Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Class names and CSS transitions have worked just fine in my experience. That said, I'm much more in favor of external stylesheets than coupling styles with components themselves. It seems like the trend with React is to do the opposite.


Yes, it's the component's responsibility to animate a panel that is part of it, I would think.

Perhaps providing hooks to override the behavior, but even not.




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

Search: