1render : function() {
2 return (
3 <form>
4 <input type="text" name="email" placeholder="Email" />
5 <input type="password" name="password" placeholder="Password" />
6 <button type="button" onClick={this.handleLogin}>Login</button>
7 </form>
8 );
9 },
10handleLogin: function() {
11 //How to access email and password here ?
12}
13