mirror of
https://github.com/dillonkearns/elm-pages-v3-beta.git
synced 2024-11-28 23:12:22 +03:00
11 lines
320 B
Markdown
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
|