FuJa0815/elm-ui/1.0.0

Rerouted (regenerated, verified). Same repository and tag, but GitHub now builds the zip with different bytes, so it no longer matches the SHA-1 package.elm-lang.org recorded. The Lamdera package server serves a copy recovered from https://github.com/FuJa0815/elm-ui.

What we checked: Tag 1.0.0 is still on github.com/FuJa0815/elm-ui; its commit 349b7160528c is from 2021-04-22 11:51 UTC, before the version was published (2021-04-22 12:12 UTC); elm.json is byte-identical to package.elm-lang.org's; the exposed modules match docs.json; the zip's SHA-1 is not the published one (GitHub's zip no longer comes out byte for byte the same), so the contents were checked instead.

The Lamdera compiler uses this copy and prints a one-line notice saying so. elm itself fails to download this version.

Details · package.elm-lang.org's zip: https://github.com/FuJa0815/elm-ui/zipball/1.0.0/

Element.Keyed

Notes from the Html.Keyed on how keyed works:


A keyed node helps optimize cases where children are getting added, moved, removed, etc. Common examples include:

  • The user can delete items from a list.
  • The user can create new items in a list.
  • You can sort a list based on name or date or whatever.

When you use a keyed node, every child is paired with a string identifier. This makes it possible for the underlying diffing algorithm to reuse nodes more efficiently.

This means if a key is changed between renders, then the diffing step will be skipped and the node will be forced to rerender.


el : List (Attribute msg) -> ( String, Element msg ) -> Element msg
column : List (Attribute msg) -> List ( String, Element msg ) -> Element msg
row : List (Attribute msg) -> List ( String, Element msg ) -> Element msg