I am trying to use smartcropjs with my graphcool and react-apollo app but I can't seem to get it right.
I tried running it in the browser, but I cant find the image element inside react as it doesnt have a
ref
and its a child inside a 3rd party library (react dropzone).
smartcropjs can be used in nodejs with gm so I was thinking of just doing it in a webtask or graphcool function, but not sure if it has gm installed