React 如何区分 Class 和 Function?

React 如何区分 Class 和 Function?

# 原文地址

How Does React Tell a Class from a Function?

扩展知识

new 运算符 | MDN

new.target | MDN