Skip to content

Commit 0daa0b4

Browse files
hedgepigdanielScriptedAlchemy
authored andcommitted
docs: add breaking change from RFR for redirect->replace (#54)
1 parent c0d0a99 commit 0daa0b4

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

packages/rudy/docs/differences-from-rfr.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ This is an overview of its differences from redux-first-router.
3333
rendering.
3434
- `payload` has been renamed to `params`, e.g. `{ type: 'FOO', params: {} }` and
3535
`state.location.params`.
36+
- The `redirect` value of the `kind` property of routing actions has changed to
37+
`replace`
3638
- `actionToPath` and `pathToAction` have been replaced with `actionToUrl` and
3739
`urlToAction`. The URL side is no longer only a string, but an object with a
3840
`url` (pathname, query, hash) and a `state`)

0 commit comments

Comments
 (0)