
React JS Tutorial - #6 Component Lifecycle
2155
20________
Next, let's have a brief look at lifecycle hooks. We'll need one to set up the timer when it is mounted to the DOM, so that it will update every second, and another to tear it down, once the component gets unmounted. More on that in the video!
コメント