Open shundaime opened 3 years ago
Hello this is due to some webpack configurations, see arnog/mathlive#1123
Hello we are not using webpack, this is react standalone
This is not specifically a problem with webpack. In the case of the react toolchain, there is an intermediary tool (whose name I forget) that doesn't know how to parse optional chaining. Anyhoo... The latest version of Mathlive has reverted to not using optional chaining to accommodate those toolchains.
Hello, what is for you the latest version of Mathlive ? Here is our : "react-mathlive": "^3.0.5-preview.1",
@arnog We tried updating to the latest version of react-mathlive and mathlive but we still get the same error. Are we missing something? Cheers!
Which version of MathLive are you using?
@arnog 0.59.0
That's the problem. The current version is 0.69.7.
I upgraded to 0.69.7 but I still get this error
Cannot read property 'makeMathField' of undefined
Is it possible that react-mathlive is not compatible with the latest version of mathlive?
I have the same issue. Any idea which version of mathlive can be used with react-mathlive?
$ grep mathlive package.json
"mathlive": "^0.69.7",
"react-mathlive": "^3.0.5-preview.1",
I wonder if this is a duplicate of https://github.com/concludio/react-mathlive/issues/34
any solutions?
Just have you make your own mathlive react component, it's not that hard to do TBH.
I was trying to use your package the simple way as i could with this part of code to start :
But i get this :
I don't understand why, can you help please ?