Can I develop pwa using react native

albert sh picture albert sh · Jan 26, 2019 · Viewed 8.3k times · Source

I have searched a lot for finding the clear answer for this question but unfortunately as I am new to both of these technologies I could not find a clear answer.

I am going to develop a cross platform mobile app using PWA technology and I know that I can use react but I wonder if can also use react native too as it has been designed for mobile app while react is designed for web app.

I found this question that describes the differences between react and react native :"React native is an extra library on the top of React, to make native app for iOS and Android devices"

What is the difference between React Native and React?

Is there any conflict using react native and PWA?

Any advice would be appreciated.

Answer

jsartisan picture jsartisan · Jan 26, 2019

There is no relation between React Native apps and PWAs.

React Native are native apps written in javascript whereas PWAs are just web apps.

A web app will act as a PWA only if it contains a manifest file and is served on https. You can also use all web features like push notifications, caching etc. See the whole list here - https://whatwebcando.today