4 ms·
With PWA by default, does it mean react app will be mobile friendly by default and react native is no longer needed to build mobile apps?
by paradite 9y ago
With PWA by default, does it mean react app will be mobile friendly by default and react native is no longer needed to build mobile apps?
- n42 9y agoReact Native is for building native mobile applications, React is for building (mobile) websites. So, no, not exactly, but it does make it simpler to create a nice mobile experience for users if a native app is not required.
- swah 9y agoMaybe he means (if OP thinks like me): can I have the app on the home screen like real apps? The answer is probably no, you still would be the "Add to desktop" which most users won't use, and the app won't be on the app store..
- GeneralMaximus 9y agoNot really. You still have to do a some work to make use of PWA features. This release just integrates the sw-precache-webpack-plugin into the build system so it's easier to add a ServiceWorker to your app should you decide to do so. Here's the documentation: https://github.com/facebookincubator/create-react-app/blob/master/packages/react-scripts/template/README.md#making-a-progressive-web-app https://github.com/facebookincubator/create-react-app/blob/m... Also, ServiceWorkers are not just useful on mobile! Applications targeting desktop browsers benefit from them just as much, especially if you're thinking offline-first.