Skip to content

Commit

Permalink
Docs fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mjoslyn committed Aug 29, 2017
1 parent 58a3967 commit 0dae143
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ import { DocumentById} from 'react-prismic-hocs'
</DocumentById>
```

##### Refetching && Routing
## Refetching and Routing
Queries are only run on component mount. If you need queries to update based on routing params, trigger a refetch of the component using a key. In the example below, the component will refetch whenever the ```uid``` is updated on a react router url parameter named ```uid```.

```js
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-prismic-hocs",
"version": "0.2.3",
"version": "0.2.5",
"description": "A higher order compnent library for querying prismic.io",
"files": ["*.md", "docs", "es", "lib", "umd"],
"main": "lib/index",
Expand Down

0 comments on commit 0dae143

Please sign in to comment.