React Advent Calendar 2022 2æ¥ç®ã®è¨äºã§ãã æ¬è¨äºã¯ããç°¡åãªã³ã³ãã¼ãã³ãããå§ãã¦ãreact ã®ã¬ã³ããªã³ã°ã«ã¤ãã¦å¦ã³ç´ãè¨äºã§ããå¦ã³ç´ã(!=å ¥éè¨äº)ãªã®ã§ JSXãTS ã®èª¬æãªã©ã¯ãã¾ããã æ¬è¨äºã®å¯¾è±¡èªè ããç¨åº¦ react ã触ã£ã¦ãã¦ããã£ã¨ã¬ã³ããªã³ã°ã«ã¤ãã¦ç解ããã人 ããè¯ãã³ã³ãã¼ãã³ããæ¸ããã人 æ¬è¨äºã®ã³ã¼ãã«ã¤ã㦠ç¹ã«æããªãããããæ¬è¨äºã«åºã¦ããã³ã¼ãã¯ä»¥ä¸ã®ã³ã¼ããçç¥ãããã®ã§ããå®éã«åããã codesandbox ãç¨æããã®ã§ããã¡ããåç §ãã ããã import { createRoot } from 'react-dom/client'; const App = /* å®è£ */; createRoot(document.querySelector('#main')).render(<App
{{#tags}}- {{label}}
{{/tags}}