Skip to content
This repository was archived by the owner on Apr 15, 2023. It is now read-only.

Commit f8772f1

Browse files
committed
Fix outdated example code
1 parent 9060b65 commit f8772f1

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,13 +65,12 @@ Here is a full example that subscribes to a SSE stream and writes the results to
6565
var React = require('react-native');
6666
var {
6767
AppRegistry,
68-
StyleSheet,
6968
Text,
7069
View,
7170
DeviceEventEmitter,
7271
} = React;
7372

74-
var EventSource = require('NativeModules').EventSourceClient;
73+
var EventSource = require('NativeModules').RNEventSource;
7574

7675
var MyFancyApp = React.createClass({
7776
getDefaultProps: function() {

0 commit comments

Comments
 (0)