Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor Next.js data fetching method #4

Open
2 tasks
retr00exe opened this issue Jul 29, 2021 · 1 comment
Open
2 tasks

Refactor Next.js data fetching method #4

retr00exe opened this issue Jul 29, 2021 · 1 comment
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@retr00exe
Copy link
Owner

  • Refactor getInitialProps() to getServerSideProps()
  • Improve getStaticPaths() and getStaticProps() code quality

Ref: https://nextjs.org/docs/basic-features/data-fetching

@retr00exe retr00exe added the enhancement New feature or request label Jul 29, 2021
@retr00exe retr00exe added this to the Code Quality milestone Jul 29, 2021
@retr00exe retr00exe self-assigned this Jul 29, 2021
@retr00exe
Copy link
Owner Author

Also change GraphQL fetching using Apollo insead of graphql-request

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant