turbo
0c3a3ee1 - Add support for ctx.params in getStaticProps/getServerSideProps (#3696)

Commit
3 years ago
Add support for ctx.params in getStaticProps/getServerSideProps (#3696) Dynamic segments should be passed a single string, while catch-all segments should be passed a list of strings. Furthermore, ctx.params was previously undefined because we weren't passing it forward through the render options.
Author
Parents
Loading