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

chore(deps): Upgrade react-table-batteries to 1.0.3 and fix usage #271

Merged
merged 1 commit into from
Dec 20, 2023

Conversation

mturley
Copy link

@mturley mturley commented Dec 19, 2023

The 1.0.3 version of @mturley-latest/react-table-batteries includes breaking changes to get it close to the final API that will be present when it moves to PatternFly. This PR upgrades and changes the usage here to match. It also factors out queryHelpers.ts to prevent some repetitive code. We wrap the useQuery calls in custom hooks that rely on tableState.cacheKey to invalidate the cache rather than a useEffect.

cc @gitdallas

@gitdallas gitdallas merged commit 35270cc into quipucords:v2-rewrite Dec 20, 2023
1 of 3 checks passed
@mturley mturley deleted the rtb-upgrade-1.0.3 branch December 20, 2023 20:01
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.

2 participants