|
26 | 26 | - [x] useLayoutEffectOnce |
27 | 27 | - [x] useRerender |
28 | 28 | - [x] useIsMounted |
| 29 | + - [ ] useInsertionEffect (polyfill???) |
29 | 30 | - [ ] useDeferredValue (polyfill - an idea can be use setTimeout inside useEffect) |
30 | 31 |
|
31 | 32 | - __PERFORMANCE__ |
|
40 | 41 | - [x] useEventListener |
41 | 42 | - [x] useEventDispatcher |
42 | 43 | - [x] usePerformAction |
43 | | - - [ ] useIntersectionObserver |
44 | | - - [ ] useMutationObserver |
45 | | - - [ ] useKeysEvents |
46 | | - - [ ] useSize (=useMeasuree?) |
47 | 44 | - [ ] useHover |
48 | 45 | - [ ] useResponsive |
49 | 46 | - [ ] useClickOutside |
| 47 | + - [ ] useSize (=useMeasuree?) |
50 | 48 | - [ ] useScrollIntoView |
| 49 | + - [ ] useKeysEvents |
51 | 50 | - [ ] useMouse |
| 51 | + - [ ] useLongPress |
| 52 | + - [ ] useIntersectionObserver |
| 53 | + - [ ] useInViewport (with area ratio of element: check if is equal to useIntersectionObserver) |
| 54 | + - [ ] useMutationObserver |
52 | 55 | - [ ] useInfiniteScroll |
53 | 56 | - [ ] useDragAndDrop (check for mobile usage) |
54 | | - - [ ] useInViewport (with area ratio of element: check if is equal to useIntersectionObserver) |
55 | | - - [ ] useLongPress |
56 | 57 |
|
57 | 58 |
|
58 | 59 | - __API DOM__ |
|
68 | 69 | - [x] useClipboard |
69 | 70 | - [x] useMediaQuery |
70 | 71 | - [x] useColorScheme |
71 | | - - [ ] useTitle (change document.title but also document.head.title nodeElement) |
72 | | - - [ ] useFetch |
73 | | - - [ ] useAsync |
74 | | - - [ ] useImageOnLoad |
75 | | - - [ ] useMediaStream |
76 | | - - [ ] useScreenShare |
| 72 | + - [x] useTitle (change document.title but also document.head.title nodeElement) |
| 73 | + - [ ] useId (polyfill???) |
77 | 74 | - [ ] useNetwork |
78 | 75 | - [ ] useOnline |
79 | 76 | - [ ] useFullscreen (check browser compatibility) |
80 | 77 | - [ ] useLanguage (?) |
| 78 | + - [ ] useOrientation |
| 79 | + - [ ] useScreenShare |
| 80 | + - [ ] useFetch (with suspense ???) |
| 81 | + - [ ] useAsync |
| 82 | + - [ ] useImageOnLoad |
| 83 | + - [ ] useMediaStream |
| 84 | + - [ ] usePinchZoom |
| 85 | + - [ ] useObservable — tracks latest value of an Observable |
81 | 86 |
|
82 | 87 | - __UTILS__ |
83 | 88 | - [x] isShallowEqual |
|
86 | 91 | - [x] isTouchEvent |
87 | 92 | - [x] isClient |
88 | 93 | - [x] isAsync |
| 94 | + - [ ] lazy: lazy react-like customized |
| 95 | + - [ ] fetch-client (???ARTS-like) |
89 | 96 |
|
90 | 97 | - __COMPONENT__ |
91 | | - - [ ] Show (component to render or not a component by a condition) |
| 98 | + - [ ] Show component to render or not a component by a condition. Props: when, fallback, keyed. Keyed is a boolean and needs to avoid rerenders children when it is a function. |
| 99 | + - [ ] Switch and Match components with fallback and when props |
| 100 | + - [ ] For: A referentially keyed loop with efficient updating of only changed items. The callback takes the current item as the first argument |
| 101 | + - [ ] Index: Non-keyed list iteration (rendered nodes are keyed to an array index). This is useful when there is no conceptual key, like if the data consists of primitives and it is the index that is fixed rather than the value. |
92 | 102 | - [ ] RestrictedRoute (maybe) |
93 | 103 | - [ ] ErrorBoundary (??) |
| 104 | + - [ ] Suspense: Suspence compontent react-like for async component |
| 105 | + - [ ] Dynamic: This component lets you insert an arbitrary Component or tag and passes the props through to it. |
94 | 106 |
|
95 | 107 | ## ESlint configuration |
96 | 108 | To validate dependencies of custom hooks like `useMemoCompare`, configure `exhaustive-deps` with the `additionalHooks` option |
|
0 commit comments