Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to display Math equations in React Native View

Tags:

react-native

How to render Math equations in React Native Views? For web applications, we can use LaTex or MathJax solutions. But React Native renders native components. Using WebView will be bad as MathJax loading will take time for each WebView component. How do we render Math equations on React Native Views (non-WebView)?

like image 747
suman j Avatar asked Feb 11 '17 15:02

suman j


Video Answer


1 Answers

MathJax let you use render SVG so you may try to generate SVG and then render it inside of React Native ( I am pretty sure that it won't work out of the box, but at least it is a way )

like image 174
Oleksandr Cherniavenko Avatar answered Oct 17 '22 13:10

Oleksandr Cherniavenko