Open mordrax opened 6 years ago
javascript:
? onxxx
as attributes?) but displaying a warning when elm-upgrade runs would be a start. And mention web component as an upgrade path.elm-package.json
in the test folder and put dependencies in test-dependencies
alongside elm-explirations/test
.In my recent run, this import was not updated:
import UrlParser as Url exposing ((</>), Parser, parseHash, s, string)
My upgrade failed due to websocket dependency, so I haven't tested, but I think it ought to be:
import Url exposing ((</>), Parser, parseHash, s, string)
Json.Encode.list takes care of mapping
( a -> Value )
now egList.map toValue |> Json.Encode.list
->Json.Encode.list toValue
Navigation.newUrl -> Browser.Navigation.pushUrl
jweir/elm-iso8601 now converts between Posix (elm/time) and ISO8601: https://package.elm-lang.org/packages/jweir/elm-iso8601/latest/ISO8601#toPosix
rm -rf elm-stuff
is a very reasonable solution to commonelm: not enough bytes
issues due to compiler performance gainsUrlParser.custom -> Url.Parser.custom ( returns Maybe now instead of Result )
more to come as I work out Navigation: https://gist.github.com/mordrax/efcd34739ed56bb64d2b12d2401b7291