We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c0f366d commit 460a4dcCopy full SHA for 460a4dc
docs/advanced/ExampleRedditAPI.md
@@ -10,9 +10,10 @@ This is the complete source code of the Reddit headline fetching example we buil
10
import 'babel-core/polyfill';
11
12
import React from 'react';
13
+import { render } from 'react-dom';
14
import Root from './containers/Root';
15
-React.render(
16
+render(
17
<Root />,
18
document.getElementById('root')
19
);
@@ -195,7 +196,7 @@ export default class Root extends Component {
195
196
render() {
197
return (
198
<Provider store={store}>
- {() => <AsyncApp />}
199
+ <AsyncApp />
200
</Provider>
201
202
}
0 commit comments