Under what conditions might this piece of code (From the React docs) fail, or rather actually trigger the final fallback condition?

前端 未结 0 1296
没有蜡笔的小新
没有蜡笔的小新 2021-01-05 03:18

The React docs have the following piece of code to extract the name of a component in an HOC (function getDisplayName). See the getDisplayName implementation below.



        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题