As a React noob, I think I can share this: When you are attaching an onClick handler and have to pass parameters to the handler, you need to use arrow functions. Doing something like onClick={this.submit(data)} will not work.
You should do something like onClick={() => this.submit(data)}.