Skip to content

Conversation

@HenriRabalais
Copy link
Collaborator

@HenriRabalais HenriRabalais commented Jan 9, 2026

Description

This PR migrates the legacy DataTable class component to a modern React Functional Component.

Key Changes

Converted DataTable.js from a class-based component to a functional component using useState, useMemo, and useEffect.

How to Test

  1. Load any page containing the DataTable .
  2. Verify that the table renders without console errors
  3. Filter and sort the data.
  4. Download filtered data as CSV

linked to issue: https://github.com/aces/CBIGR/issues/574

@github-actions github-actions bot added the Language: Javascript PR or issue that update Javascript code label Jan 9, 2026
@HenriRabalais HenriRabalais added Category: Refactor PR or issue that aims to improve the existing code Category: Cleanup PR or issue introducing/requiring at least one clean-up operation Difficulty: Medium PR or issue that require a moderate effort or expertise to implement, review, or test labels Jan 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Category: Cleanup PR or issue introducing/requiring at least one clean-up operation Category: Refactor PR or issue that aims to improve the existing code Difficulty: Medium PR or issue that require a moderate effort or expertise to implement, review, or test Language: Javascript PR or issue that update Javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant