<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 ์๋ฃ.