Files
react-native/Libraries
Willem Fibbe 8b044dcb80 Update the NetInfo.isConnected example code so that it uses the new connectionChange event
Summary:
The first code block already uses the new `connectionChange` event instead of
the deprecated `change` event, so change this example code block as well to use
the new event.

I came across this while upgrading my RN version. In the debug-console I saw a deprecation warning, despite I was using the example-code. Looking at the source, I saw the example code block still used the deprecated event, so update it to use the new one.
Closes https://github.com/facebook/react-native/pull/16357

Differential Revision: D6054428

Pulled By: hramos

fbshipit-source-id: 72ef1a79ece7494cda3773461a740dbbdf383e7e
2017-10-13 18:02:06 -07:00
..
2017-09-11 16:08:03 -07:00
2017-09-25 10:30:53 -07:00
2017-09-06 03:33:43 -07:00
2017-10-12 09:46:29 -07:00
2017-09-28 22:16:08 -07:00
2017-09-06 03:33:43 -07:00
2016-11-02 12:29:15 -07:00
2017-09-08 14:46:14 -07:00
2017-10-13 00:15:42 -07:00
2017-09-21 15:01:52 -07:00
2017-09-28 22:16:08 -07:00
2017-09-12 05:50:26 -07:00
2017-02-21 15:18:40 -08:00
2017-10-10 13:20:18 -07:00
2017-10-09 17:46:44 -07:00
2017-09-06 03:33:43 -07:00
2017-10-09 17:46:44 -07:00
2017-10-04 19:17:07 -07:00
2017-10-09 17:22:35 -07:00
2017-09-06 03:33:43 -07:00