One React Native codebase: iOS, Android and web
The screens, navigation, data layer and tests are the same code on every platform. React Native 0.88 runs them natively; webpack aliases react-native to react-native-web for this page. Web-only code: the entry file index.web.js, one data source, heroDataUrl.web.ts, and the browser history routes, linking.web.ts.
Why Dota 2
At The International 2017, an OpenAI bot beat Dendi on stage, after learning the game by playing against copies of itself. That was the first time I saw AI in action, and my research into AI started there. This app is where that road has led so far. The full story