I'm making use of react-image-annotation component version 0.9.9 for react 15.6.2.
I have used the exact same code which is provided in the "Usage" section.
This is the error I'm getting in the console when I launch the react app in browser.
Uncaught TypeError: Cannot read property '__reactInternalInstance$npn41m7bex' of null at Object.getClosestInstanceFromNode
I have been receiving the same error for all the earlier versions(0.9.9 version to the earliest version 0.9.0) of the react-image-annotation component. I wasn't able to use the latest version 0.9.10 because it's making use of React.createRef() API, which was only introduced from react 16.3.
I'm making use of react-image-annotation component version 0.9.9 for react 15.6.2.
I have used the exact same code which is provided in the "Usage" section. This is the error I'm getting in the console when I launch the react app in browser.
I have been receiving the same error for all the earlier versions(0.9.9 version to the earliest version 0.9.0) of the react-image-annotation component. I wasn't able to use the latest version 0.9.10 because it's making use of React.createRef() API, which was only introduced from react 16.3.