react-image-annotation icon indicating copy to clipboard operation
react-image-annotation copied to clipboard

Upgraded dependencies

Open ClayChristmas opened this issue 2 years ago • 0 comments

This project no longer works with updated versions of react due to incompatibility between React 16 and React 18. This project needs a bit more TLC than I have time to give it, but I wanted to use it for a personal project so I tried to at least get things working. With this PR unfortunately the unit tests won't run, and I had to do some kind of hacky stuff to get the ref forwarding to work. It feels like it is at least a good start at upgrading the library, and it at least seems to get the core functionality working with react 18.

What works:

  • basic functionality on the demo site

What doesn't work:

  • unit tests :(

ClayChristmas avatar Mar 04 '23 20:03 ClayChristmas