https://react-ko.dev/reference/react/Fragment
Caveats
- React๋
<><Child/></>์[<Child/>]์ฌ์ด,<><Child/></>์<Child/>์ฌ์ด๋ฅผ ๋ฒ๊ฐ์ ๋ ๋๋งํ ๋ state๋ฅผ ์ฌ์ค์ ํ์ง ์๋๋ค. ํ์ง๋ง ํ๋จ๊ณ ๋ ๊น์<><><Child/></></>์[<Child/>]๋ฅผ ๋ฒ๊ฐ์ ๋ ๋๋งํ ๋๋ state๋ฅผ ์ฌ์ค์ ํ๋ค. ์ฐธ๊ณ