mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
c1fd2a91b1
Also warn for symbols. It's weird because for objects we throw a hard error but functions we do a dev only check. Mainly because we have an object branch anyway. In the object branch we have some built-ins that have bad errors like forwardRef and memo but since they're going to become functions later, I didn't bother updating those. Once they're functions those names will be part of this.