Open cdevienne opened 4 years ago
The goal here is to keep the data around when loading or when an error occurred so the UI can still display something. It is an alternative approach to what https://package.elm-lang.org/packages/calions-app/remote-resource/latest/RemoteResource tries to solve.
Since it breaks the API and makes the package less simple (but not too complex either I think) I intend to publish it under a new name, but if you are ever interested in this path I would happily take feedback to get the PR into shape for merge.
Cheers
The goal here is to keep the data around when loading or when an error occurred so the UI can still display something. It is an alternative approach to what https://package.elm-lang.org/packages/calions-app/remote-resource/latest/RemoteResource tries to solve.
Since it breaks the API and makes the package less simple (but not too complex either I think) I intend to publish it under a new name, but if you are ever interested in this path I would happily take feedback to get the PR into shape for merge.
Cheers