Skip to content

Commit b6b3f56

Browse files
Merge pull request #54 from ChoTotOSS/hook
Merge hook to master
2 parents 591f685 + 1ef66df commit b6b3f56

45 files changed

Lines changed: 604 additions & 10809 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,6 @@ yarn-debug.log*
2626
yarn-error.log*
2727

2828
package-lock.json
29-
yarn.lock
29+
yarn.lock
30+
31+
src/index.js

.travis.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,6 @@ script:
1010
- yarn run coverage
1111
after_script: "cat ./coverage/lcov.info | $(npm bin)/codecov"
1212
branches:
13-
only: master
13+
only:
14+
- master
15+
- hook

README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,9 @@ yarn add react-paginating
5151
## Usage
5252

5353
You can check out the basic demo here:
54-
[https://codesandbox.io/s/z2rr7z23ol](https://codesandbox.io/s/z2rr7z23ol)
54+
- Javascript: [https://codesandbox.io/s/z2rr7z23ol](https://codesandbox.io/s/z2rr7z23ol)
55+
- Typescript: [https://codesandbox.io/s/9252p34v8r](https://codesandbox.io/s/9252p34v8r)
56+
- Server-Side Rendering: [https://codesandbox.io/s/vq40kw1yn5](https://codesandbox.io/s/vq40kw1yn5)
5557

5658
```js
5759
import React from 'react';
@@ -178,8 +180,8 @@ render(<App />, document.getElementById('root'));
178180

179181
## Examples
180182

181-
* [with simple basic data](https://github.com/ChoTotOSS/react-paginating/tree/master/examples/withBasic)
182-
* [with redux & query param from url](https://github.com/ChoTotOSS/react-paginating/tree/master/examples/withNextJSRedux)
183+
* [withClientSideRendering](https://github.com/ChoTotOSS/react-paginating/tree/hook/examples/withClientSideRendering)
184+
* [withServerSideRendering](https://github.com/ChoTotOSS/react-paginating/tree/hook/examples/withServerSideRendering)
183185

184186
## Input Props
185187

examples/withBasic/package.json

Lines changed: 0 additions & 21 deletions
This file was deleted.

0 commit comments

Comments
 (0)