This commit is contained in:
Caramujo-San
2023-06-21 20:46:34 +03:00
committed by GitHub

3
frontend/react.js vendored
View File

@@ -136,7 +136,8 @@ class Component extends React.Component {
// Invoked immediately after updating occurs. This method is not called for the initial render.
// Use this as an opportunity to operate on the DOM when the component has been updated.
// This is also a good place to do network requests as long as you compare the current props to previous props (e.g. a network request may not be necessary if the props have not changed).
// This is also a good place to do network requests as long as you compare the current props to
// previous props (e.g. a network request may not be necessary if the props have not changed).
componentDidUpdate(prevProps, prevState) { }
// Invoked immediately before a component is unmounted and destroyed.