ããã«ã¡ã¯ãæè¿ã¯ä»äºã§ React ãæ¸ãå§ãã¾ãããæ°å¹´åã« React ã触ã£ãæ㯠class component ããã£ãã¨æ¸ããè¦ããããã®ã§ãããæè¿ã¯ functional component 㨠react hooks ãçµã¿åããã¦æ¸ããã¨ãã§ããããã§ããreact hooks ã®æ¦è¦ã¯å ¬å¼ããã¥ã¡ã³ãçãèªãã§ããããã¨ã«ãã¦ãæ¬è¨äºã§ã¯ãèªä½ã®ã«ã¹ã¿ã ããã¯ã§ stateful ãªã³ã³ãã¼ãã³ããæ´çããä¸ä¾ãç´¹ä»ããããã«ãã£ã¦äº«åã§ããã¡ãªãããå°ãæ·±æããããã¨æãã¾ãã æ´çããåã®ã³ã¼ã ã¾ãã¯åãæåã«ã試ãã§æ¸ãã TypeScript ã®ã³ã¼ãããè¦ããã¾ããã¤ã³ã¿ã¼ãããã«è»¢ãã£ã¦ããä¾ãã¤ãã¯ããã¦ãè¦ããè¦ã¾ãã§æ¸ããæ稿ãã©ã¼ã ã§ããã³ã¼ãä¸ã® useQuery ã¯ãapollo client ã®ããã¯ã§ãä¸ãããã GraphQL ã¯ã¨ãª
{{#tags}}- {{label}}
{{/tags}}