Is there a solution for a React library that allows users to easily enter mathematical symbols and have them converted to LaTeX on the backend? I mean, like a user-friendly editor, maybe with clickable buttons? These elements are then converted to LaTeX on the backend.
You can try using MathJax. Version 3 is the latest version and is very powerful.
According to this question, it is the best JavaScript LaTeX renderer.
In the example below, you can render existing content to LaTeX, or add elements dynamically.
Parse infix expressions into LaTeX
If you want to interpret the expression and convert it to LaTeX, you can try the following: