4 ms·
I'm using React Native to build mobile games, and I am pleasantly surprised I can just write my own state management and update logic (hack around states and pr
by paradite 4y ago
I'm using React Native to build mobile games, and I am pleasantly surprised I can just write my own state management and update logic (hack around states and props) to walk around a lot of issues and get good performance.
- Firmwarrior 4y agoIf you hack around the state management and update logic, what is React bringing to the table? Just the cross platform widgets?
- SgtBastard 4y agoThose same workarounds could be still be multi-platform (Android and iOS) and if you’ve got any sort of complexity in your business logic you don’t need to implement and test it in JS/TS + Swift + Kotlin, just JS/TS
- redbar0n 4y agothe rendering, which could easily be tied into the game loop. e.g. https://www.youtube.com/watch?v=uJRXJxsvj7Q https://www.youtube.com/watch?v=uJRXJxsvj7Q
- mollerhoj 4y agoInteresting, how are you drawing graphics? Skia?