ShakaCode | ShakaCode Blog | Rails On Maui Blog | Rails | ReactJs | JavaScript | Webpack | Productivity |

Detect Internet Connection Type

We are using React JS and we need to develop feature which is driven by Internet connect type i.e 3G,LTE or 5G but not sure how to do this using ReactJS we are developing Responsive web application.

I know we can use NetInfo but this is for React Native . Can somebody suggest solution for React JS