If an unexpected input comes along, like '\sqrt{x-1}+\frac{1}{\sqrt{(x-2)}^2^}' - (at the end it has an exponent ^ without anything after it) - it causes the app to crash with 'Missing open brace for superscript. If you meant to render a collection of children, use an array instead'.
Is there a way to prevent those crashes and fallback to rendering the raw latex or at least to keep the app running and show an error message but not crash?
'renderError' prop seems to be working well. It was probably my mistake for not utilising it at first. Sorry to bother you again and thank you for the great effort you've put into this library!
If an unexpected input comes along, like '\sqrt{x-1}+\frac{1}{\sqrt{(x-2)}^2^}' - (at the end it has an exponent ^ without anything after it) - it causes the app to crash with 'Missing open brace for superscript. If you meant to render a collection of children, use an array instead'.
Is there a way to prevent those crashes and fallback to rendering the raw latex or at least to keep the app running and show an error message but not crash?