Skip to content

Commit

Permalink
Add READMEs
Browse files Browse the repository at this point in the history
  • Loading branch information
ekosz committed Feb 14, 2017
1 parent 6fe7854 commit 875672f
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,8 @@ export default AppPage;
- [Global pending state](/examples/global-pending)
- [Transition hook usage](/examples/transition-hook)
- [Server-side rendering](/examples/universal)
- [Shared redux store](/examples/redux)
- [Server-side rendering with shared redux store](/examples/universal-redux)

## Extensions

Expand Down
12 changes: 12 additions & 0 deletions examples/redux/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Found Redux Example

This example uses the same route configuration as the [basic JSX example](../basic-jsx), but uses shared redux store between found and the app.

## Usage

```
$ npm i
$ npm start
```

Then open [http://localhost:3000/](http://localhost:3000/) in your browser.
15 changes: 15 additions & 0 deletions examples/universal-redux/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Found Universal Redux Example

This example uses the same route configuration as the [basic JSX
example](../basic-jsx), but uses server-side rendering for the initial page
load and a custom redux store. The redux store is initially populated on the
server and then the client rehydrates itself with the server's state.

## Usage

```
$ npm i
$ npm start
```

Then open [http://localhost:3000/](http://localhost:3000/) in your browser.

0 comments on commit 875672f

Please sign in to comment.