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

Datagrid Storybook warning: Function components cannot be given refs #6144

Closed
2 tasks done
devadula-nandan opened this issue Oct 1, 2024 · 2 comments
Closed
2 tasks done
Labels
component: Datagrid role: dev Sev 4 Not visible to or noticeable to users. Affects minor functionality, no workaround needed.

Comments

@devadula-nandan
Copy link
Contributor

Package

Carbon for IBM Products

Description

can be observed only in local, i noticed this already existing in main, while i was working on #5948
this issue was observed in infinite scroll & virtual scroll story.
very minor so given a sev 4
Screenshot 2024-10-01 at 12 02 33 PM

Component(s) impacted

datagrid infinite & virtual scroll variants

Browser

Chrome

@carbon/ibm-products (previously @carbon/ibm-cloud-cognitive) version

2.50.0

Suggested Severity

Severity 4 = The problem is not visible to or noticeable to an average user. Affects minor functionality, no workaround needed.

Product/offering

C4IP

CodeSandbox or Stackblitz example

Steps to reproduce the issue (if applicable)

run storybook in local, and check console on infinite and virtual scroll story.

Release date (if applicable)

No response

Code of Conduct

@amal-k-joy
Copy link
Contributor

ref #3672

@ljcarot ljcarot moved this from Needs triage 🧐 to Icebox 🧊 in Carbon for IBM Products Oct 30, 2024
@ljcarot
Copy link
Member

ljcarot commented Nov 25, 2024

We've been investigating TanStack Table, a third-party, open-source offering, which provides extensive data table capabilities surpassing what our Carbon Datagrid offers. It provides much more flexibility and customization. TanStack Table is headless which means it can easily be added alongside Datagrid component in your product or application. The benefits of more flexibility for product teams and less maintenance for Carbon makes it a win win. Lastly, it is available in multiple frameworks including React and Web Component so it provides an option to non-React product teams.

For these reasons, we have decided to transition from building our own custom table component to using an example-based approach with TanStack Table. Datagrid will still exist in our library for existing teams but we are announcing the deprecation* of the Datagrid component in v2.54.0 release so teams can begin to work through the transition. Details about how to use both Datagrid and TanStack together can be found here.

*Deprecation means that no new features will be added however sev 1 and sev 2 bugs will be supported.

@ljcarot ljcarot closed this as not planned Won't fix, can't repro, duplicate, stale Nov 25, 2024
@github-project-automation github-project-automation bot moved this from Icebox 🧊 to Done 🚀 in Carbon for IBM Products Nov 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: Datagrid role: dev Sev 4 Not visible to or noticeable to users. Affects minor functionality, no workaround needed.
Projects
Archived in project
Development

No branches or pull requests

3 participants