elm-pages-v3-beta/docs/3.0-upgrade-notes.md
2022-03-25 09:03:30 -07:00

11 lines
320 B
Markdown

# 3.0 Upgrade Notes
## `Shared.elm`
- Change `Cmd Msg` to `Effect Msg`
- `init` no longer passes in `Maybe Browser.Navigation.Key` - instead, `Effect.toCmd` receives the `Browser.Navigation.Key`
## Page -> RouteBuilder
- `buildWithLocalState` no longer receives `Maybe Browser.Navigation.Key` - use `Effect` instead