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

Update to React 18.3.1 and fix two React warnings in Table #922

Merged
merged 2 commits into from
Oct 17, 2024
Merged

Conversation

gabro
Copy link
Member

@gabro gabro commented Oct 16, 2024

Warning 1 is new to 18.3.x and is about spreading props that contain a key. We were doing it in Table because some react-table utilities return also a key.

Warning 2 is about using useLayoutEffect during server side rendering (see https://gist.github.com/gaearon/e7d97cdf38a2907924ea12e4ebdf3c85). I've changed it to useEffect and it just works, so it was probably not necessary.

@gabro gabro added the bug Something isn't working label Oct 16, 2024
Copy link
Member

@veej veej left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💯

@gabro gabro merged commit e94a96d into main Oct 17, 2024
11 checks passed
@gabro gabro deleted the ssr-fixes branch October 17, 2024 09:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants