elmasse/nextein

Support hooks / getStaticProps ?

elmasse opened this issue · 1 comments

First ones could be

  • usePost
  • usePosts

Hooks are not really possible since all pages read from a static async getInitialProps so we need to use an HOC to wrap this for a Page. On the other hand, current implementation of getStaticProps are different and must be exported by each page making usage of this useless from a library perspective.

Renaming the issue and closing to keep track of this.