Open yashsehgal opened 1 month ago
@yashsehgal can I work on this issue
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.
What are the current limitations you see in the current developer experience + the methods present inside the hook.
Can you please also share a POC / Pseudo-code version of how the current hook methods will have their similar getter-methods, respectively.
Also, please check out the issue discussion #6 - As the required changes for supporting NextJS, might look similar or have shared resources/methods.
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.