react-image-crop
react-image-crop copied to clipboard
Not working on React 16.2
I have tried to install this library in react version 16.2 but it is not working.
Hi, as you can see here the lib is made to support >=16.13.1 - https://github.com/DominicTobias/react-image-crop/blob/master/package.json#L50
However I'm curious what you mean by "not working"? What error do you get?
It was throwing context error, btw thanks for the clarity. I will try to upgrade react version.
Ah yeah I think context was introduced in 16.8. Tbh not sure why I change to 16.13.1, I think the min version used to be 16.8. Also I can't remember the reason for this now as I'm not using Context or Hooks in the lib but clearly it's breaking somehow 🤷♂️
okay cool, I will try to go through the source code then.