canonical / canonical/react-components

`react-table` causes dependency issues with React 19

Open
#1,299 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
151
Forks
74
Avg merge
1d 2h
Merged PRs (30d)
12

Description

The current version of `react-table` doesn't support React 19 as a valid dependency, so it requires an override when using this library. It's been replaced by `@tanstack/react-table`, so we should update to the new version 8.

https://github.com/canonical/react-components/blob/af79f5b12379cab88cb6ec975e0dba6e6ce4a390/package.json#L110

It might also be worth adding a note for this in [the version 2 migration guide](https://docs.google.com/document/d/10dW-0sirZ7fhcsN2WxZM7LwAVrC9NR3erkUagUZBQQQ/edit?tab=t.0#heading=h.1hyfknsdwmzp).

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.