Skip to content

Instantly share code, notes, and snippets.

@mfeineis
Last active August 21, 2018 19:23
Show Gist options
  • Save mfeineis/86666b14369923c70be26d4056a7dcd4 to your computer and use it in GitHub Desktop.
Save mfeineis/86666b14369923c70be26d4056a7dcd4 to your computer and use it in GitHub Desktop.
A list of stuff that can be improved on the freshly release Elm 0.19 Guide https://guide.elm-lang.org

This is taken from a thread on slack that tried unsuccessfully to coordinate issues of the guide :-)

elm install NoRedInk/elm-decode-pipeline

instead of:

elm install NoRedInk/elm-json-decode-pipeline

 :help for help, :exit to exit, more at <https://github.com/elm-lang/elm-repl>
--------------------------------------------------------------------------------```

In the following page core_language it shows:

```---- Elm 0.19.0 ----------------------------------------------------------------
Read <https://elm-lang.org/0.19.0/repl> to learn more: exit, help, imports, etc.
--------------------------------------------------------------------------------```

The second one is the correct one (should change the one in install page)

Suggestions (just for myself ^.^):

  • I think it'd be time to switch from document.getElementById(..) to document.querySelector(...) on https://guide.elm-lang.org/interop/flags.html
  • it'd be nice to mention on this page in the notes that server side rendering in the sense of "create markup from data on the server, send html to the client and rehydrate the state clientside without rerendering the whole markup" like most JS webstuff has is currently not fully supported, maybe mention Noah's elm-static-html-lib when that is migrated to Elm 0.19? https://guide.elm-lang.org/webapps/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment