Update AJAXRedux.md

master
Matt Huntington 8 years ago committed by GitHub
parent 0f8e8cf367
commit 67a0b4e9ab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -65,12 +65,6 @@ let comments = function(state = [], action){
## Dispatch a SET action appropriately ## Dispatch a SET action appropriately
Import `js/store.js` into `js/components/commentslist.jsx`:
```javascript
import store from '../store.js';
```
Once our `js/components/commentslist.jsx` component mounts, make the approriate AJAX request and dispatch a SET action. Once our `js/components/commentslist.jsx` component mounts, make the approriate AJAX request and dispatch a SET action.
```javascript ```javascript

Loading…
Cancel
Save