<Button>{null}🙃</Button>
ボタン( <button>🙃</button>
)をエラーなしでレンダリングします。
insertSpace
メソッドは、エクスプレスnull.type
ます。
タイプエラーの原因:
Uncaught TypeError: Cannot read property 'type' of null
at insertSpace (unpkg.com/[email protected]/dist/antd-with-locales.js:88201)
at mapSingleChildIntoContext (unpkg.com/[email protected]/dist/react.js:371)
at traverseAllChildrenImpl (unpkg.com/[email protected]/dist/react.js:3390)
at traverseAllChildrenImpl (unpkg.com/[email protected]/dist/react.js:3406)
at traverseAllChildren (unpkg.com/[email protected]/dist/react.js:3485)
at mapIntoWithKeyPrefixInternal (unpkg.com/[email protected]/dist/react.js:391)
at Object.mapChildren [as map] (unpkg.com/[email protected]/dist/react.js:413)
at Button.render (unpkg.com/[email protected]/dist/antd-with-locales.js:88303)
at unpkg.com/[email protected]/dist/react-dom.js:5250
at measureLifeCyclePerf (unpkg.com/[email protected]/dist/react-dom.js:4529)
🙃
それを修正するのを手伝ってもらえますか?
ええ、ちょっと待ってください。
@ afc163完了。
このスレッドは最近のアクティビティがないため、自動的にロックされています。 関連するバグの新しい問題を開き、このスレッドの関連するコメントにリンクしてください。
最も参考になるコメント
@ afc163完了。