The sentence "antd" (0, _ inherits3 ['default']) (Button, _ React$Component); what does it mean?

looking at the antd source code, I found the phrase "(0, _ inherits3 ["default"]) (Button, _ React$Component);" what does this code mean? I know (function () {}) (), but it doesn"t look like it. What does it mean?

Apr.03,2021

the sentence you see is the compiled code of babel, which is used for inheritance, that is, class Button inherits class React.Component


above is the compiled result of babel, which is basically what it means:

clipboard.png

Menu