Open JimmyLv opened 5 years ago
Consider this Greeting component which is defined as a function: function Greeting ( ) { return < p > Hello </ p > ; } React also supports defining it as a… December 11, 2018 at 07:06PM via Instapaper https://overreacted.io/how-does-react-tell-a-class-from-a-function/
How Does React Tell a Class from a Function?
Consider this Greeting component which is defined as a function: function Greeting ( ) { return < p > Hello </ p > ; } React also supports defining it as a…
December 11, 2018 at 07:06PM
via Instapaper https://overreacted.io/how-does-react-tell-a-class-from-a-function/