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

Create custom hooks library #11

Open
nebula-aac opened this issue Aug 22, 2023 · 1 comment
Open

Create custom hooks library #11

nebula-aac opened this issue Aug 22, 2023 · 1 comment
Assignees
Labels
area/ui User Interface framework/react kind/feature New major feature or request

Comments

@nebula-aac
Copy link
Contributor

nebula-aac commented Aug 22, 2023

Requirements:

In multiple Layer5 repos, there are tons of hooks that can benefit from being created in a custom hooks package.

List of custom hooks (to consider to to use)

  • useDebounced
  • useLocalStorage
  • usePauseEvents
  • useThrottledDragOver
  • useCytoscape
  • useDraggable
  • useFullScreen
  • useOverlayedComponent
  • useMeshModalComponents
  • useNotification
  • usePreventUserFromLeavingPage
  • useStateCallback
  • useNotification
  • useWindowDimensions

Consider creating a Redux context provider through the hooks library


Contributor Guide

@nebula-aac nebula-aac added the kind/enhancement Improvement in current feature label Aug 22, 2023
@nebula-aac nebula-aac changed the title Create custom hooks library Create custom hooks library Aug 24, 2023
@nebula-aac
Copy link
Contributor Author

@nebula-aac nebula-aac self-assigned this Oct 9, 2023
@nebula-aac nebula-aac added area/ui User Interface kind/feature New major feature or request and removed kind/enhancement Improvement in current feature labels Oct 9, 2023
@nebula-aac nebula-aac linked a pull request Oct 9, 2023 that will close this issue
1 task
@nebula-aac nebula-aac reopened this Nov 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/ui User Interface framework/react kind/feature New major feature or request
Development

Successfully merging a pull request may close this issue.

2 participants