NextJs Firebase v9 Part 11: Display the detail of todo

Get the detail by using getStaticPaths and getStaticProps

Ckmobile

--

Watch video series and source code

At the end of the [id].js, add the getStaticPaths and getStaticProps . The getStaticPaths tells the Next.js to render pages defined at paths.

--

--