Show HN: A React Native math keypad for kids – fractions, exponents, no WebView
https://github.com/rabbithole-school/react-native-math-keypad
I run a small school for gifted kids in Honolulu, and our students do some of their math practice on iPads. I wanted a 9-year-old to be able to type 3 2/5 the way she'd write it on paper, and couldn't find a React Native component that did it. MathLive and MathQuill are good editors, but they're built on the DOM, so in React Native they only run inside a WebView, and I didn't want a WebView inside every answer box.It's harder than you might think to to make sure arrow keys, taps in parentheses, delete keys, tab key, etc. on a hardware keyboard all work as expected. We packaged it up so other schools/builders don't need to reinvent the wheel.
It's drawn with react-native-svg and runs in Expo Go. A dev build adds two small iOS modules.
We pulled it out of the tutoring app our students use every day and put it under MIT. It hasn't been run on Android yet. Web support is new in 0.1.1: 0.1.0 crashed on react-native-web, which I found out while taking a screenshot for this post.
(
no comments
| on HN
)
There are no comments yet.