Skip to content

Commit 57f5d4e

Browse files
author
Trevor Richardson
committed
docs(readme): update toc with redial fetch arguments
1 parent 591a09b commit 57f5d4e

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
* [Register with the Hapi server](#register-with-the-hapi-server)
1717
* [Optional custom renderer that passes blankie (optional to provide yourself) nonces as a prop](#optional-custom-renderer-that-passes-blankie-optional-to-provide-yourself-nonces-as-a-prop)
1818
* [Dependencies for you to provide](#dependencies-for-you-to-provide)
19+
* [Redial fetch trigger arguments](#redial-fetch-trigger-arguments)
1920
* [Contribution](#contribution)
2021
* [Install dependencies](#install-dependencies)
2122
* [Verification](#verification)
@@ -127,13 +128,14 @@ required.
127128
* `render`: _optional_ custom renderer to replace the default renderer. Passed `defaultRenderer` and `request` as arguments so additional props can be passed to the defaultRenderer, potentially from the request.
128129

129130
### Redial fetch trigger arguments
131+
130132
* `params`: pass-through of react-router params taken from the path
131133
* `dispatch`: redux store [dispatch](https://redux.js.org/api/store/#dispatchaction) method
132134
* `state`: current state of the redux store
133135
* `getState`: [method](https://redux.js.org/api/store/#getstate) to get the
134-
latest state of the redux store
136+
latest state of the redux store
135137
* `store`: the raw redux store. WARNING: this should only be used for unique
136-
circumstances (e.g., creating a custom subscription to the store)
138+
circumstances (e.g., creating a custom subscription to the store)
137139

138140
## Contribution
139141

0 commit comments

Comments
 (0)