Skip to content

Conversation

@KoolADE85
Copy link
Contributor

This PR is a pure refactor from class to function components.

There is no functionality change. All automated tests continue to pass, and all example apps in docs/ have been manually confirmed as working.

@KoolADE85 KoolADE85 force-pushed the refactor/functional-component branch from f6a75ed to 38fbc5b Compare July 10, 2025 22:30
@KoolADE85 KoolADE85 force-pushed the refactor/functional-component branch from 38fbc5b to a7534ee Compare July 10, 2025 22:34
@gvwilson gvwilson added feature something new P1 needed for current cycle labels Jul 11, 2025
@AnnMarieW
Copy link
Collaborator

@KoolADE85
This is looking good! Any plans on moving away from defaultProps?

@KoolADE85 KoolADE85 force-pushed the refactor/functional-component branch from 88bef0c to 224ea62 Compare July 14, 2025 22:07
@KoolADE85
Copy link
Contributor Author

@KoolADE85 This is looking good! Any plans on moving away from defaultProps?

Hey @AnnMarieW that's a great call! I started this and realized it will be another fairly big diff to look at. So I'm thinking I'll do that in a separate PR.

Copy link
Collaborator

@BSd3v BSd3v left a comment

Choose a reason for hiding this comment

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

This refactor looks like the way I had envisioned it.

I dont know if its necessary to do the check on the gridApi switch with all the other props in the useEffect as it only needs to run when the gridApi gets loaded.

BSd3v and others added 4 commits July 15, 2025 16:54
… already

- adjusting tests in the event the grid takes a bit to render
- fixed issue with selectedRows triggering uneccessarily
Copy link
Collaborator

@BSd3v BSd3v left a comment

Choose a reason for hiding this comment

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

Looks good to me. All tests are passing.

@BSd3v BSd3v linked an issue Jul 15, 2025 that may be closed by this pull request
@KoolADE85 KoolADE85 merged commit 798c8e1 into main Jul 18, 2025
3 checks passed
@KoolADE85 KoolADE85 deleted the refactor/functional-component branch July 18, 2025 16:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature something new P1 needed for current cycle

Projects

None yet

Development

Successfully merging this pull request may close these issues.

refactor to functional component

5 participants