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.
The current
useGitHubhook 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.