next.jsã®ISRã使ããã¨ãã¦ããªããå ¨ç¶ãã¾ãè¡ããªããã£ã¦ãªã£ã¦ãã®ããã£ã¨ç解åºæ¥ãã®ã§ã¡ã¢ åé¡ç·¨ ã¨ããããè¦æ§è¦çä¼¼ã§ISRã¯revalidateã¨fallbackã¤ããã°è¯ããã ãªï¼ã¨ãã£ã¦ã¿ãã¨ãããã©ããpropsã空Objectã«ãªã£ã¦ãã¾ãããã§æ©ãã§ããã ä¾ãã°ä¸è¨ã®ãããªå ´åãã¨ã©ã¼ãèµ·ãã // pages/greeting/[name].js const Page = (props) => { // âããã§ã¨ã©ã¼ return <div>Hello {props.name.toUpperCase()}</div> } export const getStaticProps = async (req) => { return { props: { name: req.params.name }, revalidate: 100 } } export c
{{#tags}}- {{label}}
{{/tags}}