Firstly, you have to import jquery library . We also need to import findDOmNode as we’re going to manipulate the dom. And obviously we are importing React as well.
import React from 'react';
import { findDOMNode } from ‘react-dom’;
import $ from ‘jquery’;
We are setting an arrow function ‘hand...