Y
Hacker News
new
|
ask
|
show
|
jobs
by
danabramov
3351 days ago
Yes, componentDidMount is the place to work with DOM. componentWillMount never worked this way—it is basically a glorified constructor from pre-ES6 era.