File tree Expand file tree Collapse file tree 3 files changed +10
-8
lines changed Expand file tree Collapse file tree 3 files changed +10
-8
lines changed Original file line number Diff line number Diff line change 1
1
# react-at-rest-examples
2
- Sample projects for working with the ReactAtRest framework (https://github.com/PayloadDev/react-at-rest ).
2
+ Sample projects for working with the [ React-at-Rest framework] ( https://github.com/PayloadDev/react-at-rest ) .
3
3
4
4
Getting Started
5
5
---
@@ -9,4 +9,6 @@ Getting Started
9
9
3 . Fire up the dev server with ` npm run dev `
10
10
4 . Point your browser to ` http://localhost:3001/ `
11
11
12
-
12
+ The Code
13
+ ---
14
+ This repo contains sample code in both ES6 and CoffeeScript. Just look in the ` /src ` directory and use either as a starting point.
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " react-at-rest-examples" ,
3
- "version" : " 1 .0.0" ,
4
- "description" : " Sample projects for working with the ReactAtRest framework." ,
3
+ "version" : " 2 .0.0" ,
4
+ "description" : " Sample projects for working with the React-at-Rest framework." ,
5
5
"main" : " index.js" ,
6
6
"scripts" : {
7
7
"build" : " ./node_modules/.bin/webpack" ,
13
13
"json-server" : " ^0.8.6" ,
14
14
"lodash" : " ^3.10.1" ,
15
15
"object-assign" : " ^4.0.1" ,
16
- "react" : " ^15.0.1 " ,
17
- "react-at-rest" : " ^1.2.2 " ,
18
- "react-dom" : " ^15.0.1 "
16
+ "react" : " ^15.1.0 " ,
17
+ "react-at-rest" : " ^2.0.0 " ,
18
+ "react-dom" : " ^15.1.0 "
19
19
},
20
20
"devDependencies" : {
21
21
"babel-core" : " ^6.4.0" ,
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ module.exports = class Comments extends DeliveryService
16
16
17
17
18
18
bindResources : ->
19
- @ subscribeAll @commentStore , null ,
19
+ @ subscribeAll @commentStore ,
20
20
parentResourcesKey : ' posts'
21
21
parentResourceId : @props .postId
22
22
You can’t perform that action at this time.
0 commit comments