Skip to content

MathJax incompatibility fix and README update

Upgraded mathjax-react to a version that is compatible with React 17, removing the need to use --legacy-peer-deps when using npm install.

This is a temporary fix since mathjax-react is deprecated. Therefore, I tried replacing mathjax-react with better-react-mathjax. However, I ran into some issues after already having a hard time getting better-react-mathjax to work:

  • Crazy loading times (~ 3 seconds) for a seemingly simple visualisation (see video)

e7970339285c983fa8931a7f39a33a03__1_

  • Stylistic changes that are hard to fix, e.g. in the following pictures the spacing between the equations and labels is increased significantly, allowing for less options to be shown on the screen:
    • Old (mathjax-react) image
    • New (better-react-mathjax) image__1_

I committed my better-react-mathjax implementation to this experimental branch.

Merge request reports