I 'm new in React. I hope to extract an image to canvas using jQuery in react. But as you can see in behind, I can't use $. Could you tell me the reason? Thank you for your cooperation.
function display(extract) {
const canvas = $('#overlay').get(0)
api.match(canvas, $('#inputImg').get(0))
$('#Container').empty()
Images.forEach(canvas => $('#Container').append(canvas))
}