3 ms·
I recently made a game (now in both App stores) with React Native http://complexview.com/apps/rgb-logic/index.html http://complexview.com/apps/rgb-logic/index.
by amimetic 10y ago
I recently made a game (now in both App stores) with React Native
http://complexview.com/apps/rgb-logic/index.html http://complexview.com/apps/rgb-logic/index.html
I code in both Swift and Java (and a little Kotlin) but I think RN was better for this project:
* Cross platform with very little extra effort (it only took a couple of hours to take iOS version, make quite a few improvements to both versions and a few changes for Android and ship it).
* The game relies on a somewhat complex UI with simple updates... React/Javascript makes this kind of thing a lot easier to code than say using some kind of complex custom state/view objects in Java.
* Adding a tutorial was way easier thanks to Javascript's blurring of code and data
* Live reload (and now hot reload!) are amazing. Better than than even Android Studio's new "instant" run.