ä»åã¯ãfragmentãæ´»ç¨ããããã«ãã¿ã¼ã³Cãæ¡ç¨ãã¦ãããå³å¯ã«ã¯ã以ä¸ã®ããã«æ¹éãå®ãã¦ãã¾ãã SSRæã®ã¯ã¨ãªçºè¡: ãã¼ã¸ã³ã³ãã¼ãã³ãåä½ CSRæã®ã¯ã¨ãªçºè¡: CSRãå¿ è¦ãªã³ã³ãã¼ãã³ãåä½ ãã®éãåå¾ããqueryã®çµæãã©ã®ããã«fragmentã¸å¤æãããã¨ããã®ããã¤ã³ãã§ãã ããã§ãgraphql-anywhereã® filter ã¡ã½ãããç¨ãããã¨ã§ãã¯ã¨ãªçµæãfragmentã¸å¤æãã¾ãã 以ä¸ã¯ãç°¡ç¥åãããã¯ã¼ãã³ãã¼ã¸ã®å®è£ ä¾ã§ãã type DetailPageProps = { // GraphQLã¯ã¨ãªã®çµæ data: Query } const DetailPage: FunctionComponent<DetailPageProps> = ({ data }) => { // couponã¯GraphQLã®Couponã¹ãã¼
{{#tags}}- {{label}}
{{/tags}}