Skip to content

check hooks rules with eslint + fix missing dependencies#28

Merged
severo merged 1 commit intomasterfrom
fix-eslint
Jan 16, 2025
Merged

check hooks rules with eslint + fix missing dependencies#28
severo merged 1 commit intomasterfrom
fix-eslint

Conversation

@severo
Copy link
Copy Markdown
Contributor

@severo severo commented Jan 16, 2025

note that we need to use useCallback for setColumnWidth and setColumnWidths, because otherwise the functions are recreated on every render, which reruns the useEffects inside TableHeader.tsx

note that we need to use useCallback for setColumnWidth and
setColumnWidths, because otherwise the functions are recreated on every
render, which reruns the useEffects inside TableHeader.tsx
@severo severo requested a review from platypii January 16, 2025 11:10
@severo
Copy link
Copy Markdown
Contributor Author

severo commented Jan 16, 2025

Merging as it's a minor change, validated by eslint and tests

@severo severo merged commit b4d1945 into master Jan 16, 2025
@severo severo deleted the fix-eslint branch January 16, 2025 11:16
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

Successfully merging this pull request may close these issues.

1 participant