I want to read the onClick event value properties. But when I click on it, I see something like this on the console:
SyntheticMouseEvent {dispatchConfig: Ob
You just need to use Arrow function to pass value.
this.props.onClickHandle("StackOverFlow")}>
Make sure to use () = >, Otherwise click method will be called without click event.
Note : Crash checks default methods
Please find below running code in codesandbox for the same.
React pass value with method