Open ifdion opened 6 years ago
Added getSnapshotBeforeUpdate(prevProps, prevState) {…} and getDerivedStateFromProps(props, state) {…}
getSnapshotBeforeUpdate(prevProps, prevState) {…}
getDerivedStateFromProps(props, state) {…}
Added
getSnapshotBeforeUpdate(prevProps, prevState) {…}
andgetDerivedStateFromProps(props, state) {…}