Secretmapper / react-image-annotation

An infinitely customizable image annotation library built on React
https://secretmapper.github.io/react-image-annotation/
MIT License
326 stars 135 forks source link

Upgraded dependencies #83

Open ClayChristmas opened 1 year ago

ClayChristmas commented 1 year ago

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:

What doesn't work: