Closed elmasse closed 4 years ago
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.
First ones could be
usePost
usePosts