Lifecycle methods: componentDidUpdate() ✏️ | Class Components in React tutorial

Опубликовано: 05 Октябрь 2024
на канале: Scrimba
5,896
110

🎓 View our courses: https://scrimba.com/links/all-courses

In this video, we learn about the componentDidUpdate() method.

Code inside the componentDidUpdate() method will run any time there are changes to the state or props in a component.

💜 Play with this code on Scrimba: https://scrimba.com/learn/classcompon...

💻 Check out Scrimba’s interactive learning platform:
https://scrimba.com/

🌲 Linktree:
https://scrimba.com/links/linktree