I was trying to use your package the simple way as i could with this part of code to start :
render() {
return <MathfieldComponent
initialLatex="f(x)=\\log _10 x"
onChange={this.onMathChange}
/>;
}
onMathChange(mathText) {
console.log(mathText);
}
But i get this :

I don't understand why, can you help please ?