JimmyLv / reading

My Reading List | 参考博客文章「Serverless 实战:打造个人阅读追踪系统」:
https://blog.jimmylv.info/2017-06-30-serverless-in-action-build-personal-reading-statistics-system/
26 stars 2 forks source link

How Does React Tell a Class from a Function? #4667

Open JimmyLv opened 5 years ago

JimmyLv commented 5 years ago

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/