feat: datum-ui v0.2 — monorepo scaffold, component library, tests, storybook, docs #15
Annotations
10 warnings
|
Lint:
packages/datum-ui/src/components/features/calendar-date-picker/calendar-date-picker.tsx#L562
React Hook React.useEffect has missing dependencies: 'handleWheel' and 'id'. Either include them or remove the dependency array
|
|
Lint:
packages/datum-ui/src/components/features/calendar-date-picker/calendar-date-picker.tsx#L547
An 'addEventListener' in 'useEffect' should have a corresponding 'removeEventListener' in its cleanup function
|
|
Lint:
packages/datum-ui/src/components/features/calendar-date-picker/calendar-date-picker.tsx#L471
React Hook React.useMemo has a missing dependency: 'allDateRangePresets'. Either include it or remove the dependency array
|
|
Lint:
packages/datum-ui/src/components/features/calendar-date-picker/calendar-date-picker.tsx#L192
Do not call the 'set' function 'setPendingDate' of 'useState' directly in 'useEffect'
|
|
Lint:
packages/datum-ui/src/components/features/calendar-date-picker/calendar-date-picker.tsx#L107
The 'today' object construction makes the dependencies of useMemo Hook (at line 126) change on every render. To fix this, wrap the initialization of 'today' in its own useMemo() Hook
|
|
Lint:
packages/datum-ui/src/components/features/calendar-date-picker/calendar-date-picker.tsx#L107
The 'today' object construction makes the dependencies of useMemo Hook (at line 117) change on every render. To fix this, wrap the initialization of 'today' in its own useMemo() Hook
|
|
Lint:
packages/datum-ui/src/components/features/avatar-stack/avatar-stack.tsx#L95
Fast refresh only works when a file only exports components. Use a new file to share constants or functions between components
|
|
Lint:
packages/datum-ui/src/components/base/button/index.tsx#L1
Fast refresh only works when a file only exports components. Use a new file to share constants or functions between components
|
|
Lint:
packages/datum-ui/src/components/base/button/button.tsx#L332
Fast refresh only works when a file only exports components. Use a new file to share constants or functions between components
|
|
Lint:
packages/datum-ui/src/components/base/badge/badge.tsx#L229
Fast refresh only works when a file only exports components. Use a new file to share constants or functions between components
|