Double equal (==) check only value but triple equal (===) check value and variable type.
Double Equal (==)
Double equal check only value so the output is true.
Triple Equal (===)
5 is an int type and another “5” is a string type. Their data type is not similar that's why the output is false.
React is just a library where you make all decisions by yourself. React is a user interface using components. The framework is where some decisions make already. Angular is a framework where already some decision build.
Every setState call informs React about state changes. Then, React calls the render method to update the component's representation in memory and compare it with what’s rendered in the browser. Child components know that they need to re-render because their props changed.
Redux is great. But you might not need it.
npx create-react-app my-app