This is a amazing example why react sucks you never know what it does when ok sure if your the inventor of react or study its code you know it but who want's to follow that?
nope your wrong its react doing this let me explain the function component is a render function thats why it can not get called again and will not get called again the class component has a render function that can and will get called again.
This is a amazing example why react sucks you never know what it does when ok sure if your the inventor of react or study its code you know it but who want's to follow that?
Good Example !
"This is a amazing example why react sucks" this statement is wrong!
It should be "This is an amazing example how javascript handles Objects" Or "This is an amazing example how weird js is"
nope your wrong its react doing this let me explain the function component is a render function thats why it can not get called again and will not get called again the class component has a render function that can and will get called again.
Unlike the semicolon in js, the period is NOT optional in the English language, and I don't the the devs are going to change this anytime soon...