Could you tell me the difference between react version number 15 and 16?

1. Due to the recent introduction to reactjs
2, I want to know whether there is a big difference, such as the difference between the function and the code used by the component.

Mar.10,2021

what I want to tell you is 15 liters and 16 liters, and the basic use has not changed.
but the 16.3 change is relatively large, and this change will take effect when the 17 version is released in the future.
16.3 discards componentWillMount , componentWillRecieveProps , componentWillUpdate life cycle.
add getDerivedStateFromProps , getSnapshotBeforeUpdate .

for new beginners, let's start with 16.3.


this kind of question is not a lot of search?
can't I read the update log of react for myself?
update log

Menu