tRPC 㯠Next.js ããã¸ã§ã¯ãã®çç£æ§ãåä¸ãããã©ã¤ãã©ãªã§ãããµã¼ãã¼å´å®ç¾©ã®åæ¨è«ã API Client ã«ãã¤ã¬ã¯ãã«ä¼æ¬ããã ãã§ãªããZod ã¹ãã¼ãã«ããå ¥åå¤å¶ç´ãæ½ãã¾ãããã®ãããClient â API Routes éã®çéãEnd-to-end typesafeã«ãªãã便å©ãªã©ã¤ãã©ãªã§ãã tRPC 㨠MSW ã®çµ±åè¦ç¹ çè ã¯ãã¹ãã»Storybook ãã³ãããããéã« MSW ãããå©ç¨ãã¦ãã¾ãã次ã®æ§ã«ä»»æã® URL ãªã¯ã¨ã¹ããã¤ã³ã¿ã¼ã»ãããã¦ãã¹ã¿ããè¿å´ã§ãã¾ãã import { rest } from 'msw' export const handlers = [ rest.get('https://api.github.com/user/:login', (req, res, ctx) => { return res(ct
{{#tags}}- {{label}}
{{/tags}}