yashsehgal / use-github-react

React hook for fetching activities and information via GitHub API
https://use-github-react.vercel.app
MIT License
1 stars 4 forks source link

Support for NextJS #1

Open yashsehgal opened 1 month ago

yashsehgal commented 1 month ago

The current useGitHub hook works well with standard React applications, but it doesn't account for the server-side rendering (SSR) and static site generation (SSG) features of Next.js. We need to adapt our hook to work seamlessly in a Next.js environment.

Create a bunch of documented examples and changes in all the existing methods to make sure the Next.js implementations are easy to work with.

techmannih commented 1 month ago

@yashsehgal can I work on this issue

yashsehgal commented 1 month ago

Good to have you here @techmannih - I would like to discuss this improvement project with you. I have couple of initial questions before starting, that will be helpful for leading the discussion.