File tree Expand file tree Collapse file tree 4 files changed +8
-8
lines changed Expand file tree Collapse file tree 4 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 50
50
"postId" : 2
51
51
}
52
52
]
53
- }
53
+ }
Original file line number Diff line number Diff line change 1
- import { PubSub , Store } from 'react-at-rest'
1
+ import { DeliveryService , Store } from 'react-at-rest'
2
2
import React from 'react'
3
3
import ContactListItem from './contact_list_item'
4
4
import ContactForm from './contact_form'
5
5
6
6
7
- // PubSub provides a workflow for retrieving resources from the API
8
- class ContactList extends PubSub {
7
+ // DeliveryService provides a workflow for retrieving resources from the API
8
+ class ContactList extends DeliveryService {
9
9
10
10
constructor ( props ) {
11
11
super ( props )
Original file line number Diff line number Diff line change 1
1
React = require ' react'
2
- {PubSub , Store } = require ' react-at-rest'
2
+ {DeliveryService , Store } = require ' react-at-rest'
3
3
Comments = require ' ./comments'
4
4
5
- module .exports = class BlogPosts extends PubSub
5
+ module .exports = class BlogPosts extends DeliveryService
6
6
7
7
@displayName = ' BlogPosts'
8
8
Original file line number Diff line number Diff line change 1
1
React = require ' react'
2
- {PubSub , Store } = require ' react-at-rest'
2
+ {DeliveryService , Store } = require ' react-at-rest'
3
3
CommentForm = require ' ./comment_form'
4
4
5
- module .exports = class Comments extends PubSub
5
+ module .exports = class Comments extends DeliveryService
6
6
7
7
@displayName = ' Comments'
8
8
You can’t perform that action at this time.
0 commit comments