News for hackers. Stuff that matters.
Re:Why Discord Is Sticking with React Native by saagarjha on Thursday July 26, 2018 @05:21PM (#17621286)
How do you convey "relaunch the app" to your users? I'm sure many of them think that pressing the home button is the same as killing your app.
Re:Why Discord Is Sticking with React Native by victoriasun on Thursday July 26, 2018 @05:29PM (#17621379)
Since OTA updates can only impact JS, we can offer a button that essentially calls something like `window.refresh` and it reloads the JS bundle within the container. We actually recently leveraged ErrorBoundaries in React 16 to do something similar in our app as well.