r/reactnative • • Jan 31 '20

Released my first react-native app!

319 Upvotes

35 comments sorted by

View all comments

2

u/wcandillon Feb 01 '20

This is amazing u/TheLartians. I'm playing with it now. So the gestures and animations in the equations are just done with OpenGL?

2

u/TheLartians Feb 01 '20

Thanks! Well yeah, the rendering of the equations is done through OpenGL, while the gesture and equation logic is implemented in C++. That way we can have both optimal performance and a single codebase that runs literally anywhere.

React-naive is then used to create the platform-specific native UI elements around it.

1

u/[deleted] Feb 02 '20

Isn't openGL deprecated on iOS 13? Would this affect your app?

2

u/TheLartians Feb 02 '20

Yeah it’s deprecated, but still works on all devices for now. Once Apple pulls the plug we will probably need to switch to something like Vulcan as our cross-platform rendering framework. Annoyingly, we will also have to keep supporting OpenGL as well, since many devices don’t support Vulcan.