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

FE - Hook organizatin #1867

Open
3 tasks
ajhollid opened this issue Mar 4, 2025 · 0 comments
Open
3 tasks

FE - Hook organizatin #1867

ajhollid opened this issue Mar 4, 2025 · 0 comments

Comments

@ajhollid
Copy link
Collaborator

ajhollid commented Mar 4, 2025

There are a number of hooks used to make network requests. Some of them are reused between components, some have been implemented in more than one place and are nearly identical. This was done in a hurry to quickly refactor some pages, but they should now be organized.

  • Hooks should be moved out of Page directories and to the root Hook directory.
  • Duplicate hooks should be removed
  • Hooks that are very similar should be evaluated for refactoring, if reasonable they should be made generic enought to use in more than one component/page
ajhollid added a commit that referenced this issue Mar 4, 2025
…al-data-fetch

feat: depin monitors initial data fetch, #1867
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant