Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
_qbjt
on April 10, 2018
|
parent
|
context
|
favorite
| on:
Learn React by building a web app
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.
nicc
on April 10, 2018
[–]
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: