files-ui-react icon indicating copy to clipboard operation
files-ui-react copied to clipboard

Add React 19 support and fix TypeScript issues

Open phDooY opened this issue 10 months ago • 1 comments

This PR adds support for React 19 and fixes several TypeScript issues:

Changes:

  • Add React 19 to peerDependencies
  • Update testing libraries to latest versions compatible with React 19
  • Fix TypeScript errors in Dropzone component
  • Improve error handling for undefined values
  • Add proper type checking for File objects

All tests are passing and the package builds successfully.

Testing:

  • Ran all existing tests ✅
  • Built the package successfully ✅
  • Verified TypeScript type checking ✅

Note: This PR maintains backward compatibility with React 17 and 18.

phDooY avatar Dec 21 '24 11:12 phDooY