1.2.4 • Published 5 years ago

react-network-info v1.2.4

Weekly downloads
8
License
MIT
Repository
github
Last release
5 years ago

HoC providing info about the network conditions

Demo

Build Status Greenkeeper badge

Install the component

import NetworkInformation from 'react-network-info';

Wrap your components with it

<NetworkInformation>
  <Button secondary>Something</Button>
</NetworkInformation>

It provides to the children/wrapped components the following props:

PropDescriptipn
downlinkThe effective bandwidth estimate in megabits per second, rounded to the nearest multiple of 25 kilobits per seconds.
effectiveTypeThe effective type of the connection meaning one of 'slow-sg', '2g', '3g', or '4g'
rttThe estimated effective round-trip time of the current connection
1.2.4

5 years ago

1.2.3

6 years ago

1.2.2

6 years ago

1.2.1

6 years ago

1.2.0

6 years ago

1.1.0

7 years ago

1.0.6

7 years ago

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.0

7 years ago