Review NextJS Static Exporters.
elmasse opened this issue · 0 comments
elmasse commented
NextJS Static Exporters could be used in Nextein. The first intent might be to create static exporters that should support filtering posts, and add post and posts properties.
createStaticPaths
,createStaticPathsFiltererBy(filter)
createStaticProps
,createStaticPropsFiltererBy(filter)
Questions
- Should detect the presence of
params
instaticProps
to determine if rendering a list or a single post? - How do we expose the
post
andposts
at the same time? - Should these methods return objects as in next static exporters or should we provide just methods to read posts?