title: Equivalent of ng-init in reactjs
body: <p>I am converting my project from angular to reactjs. But I got stuck at ng-init. I don't know what is the equivalent of ng-init in reactjs in react way. Please help me, anyone, with this.</p>