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 c028b61 commit 8b4bacfCopy full SHA for 8b4bacf
docs/README.md
@@ -10,7 +10,7 @@ This project tends to use the simplicity of functional React components and the
10
11
## Usage
12
13
-```jsx
+```javascript
14
import React from 'react';
15
import Coroutine from 'react-coroutine';
16
import Posts from 'PostAPI';
@@ -34,7 +34,7 @@ For the sake of testability you might want to inject instances into your corouti
34
35
You are able to provide `getVariables()` function that receives `props` and `context` and returns an object that will be passed in a coroutine.
36
37
38
function getVariables(props) {
39
return {
40
userPosts: new PostsDAO(props.userId)
0 commit comments