Someone can correct me if I’m wrong about this but I believe storing Cmd or Task in your Msg/Model has the same drawbacks as storing functions.
MartinS
7
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Elm Design Question: Task vs Cmd msg | 4 | 3802 | July 2, 2019 | |
| `Task.perform`/`Time.now` called once but firing twice | 6 | 671 | April 22, 2023 | |
| ELI5: Commands Usage | 9 | 1392 | March 25, 2018 | |
| Chaining initialisation commands | 3 | 3168 | October 26, 2018 | |
| Batching updates | 7 | 2483 | December 30, 2018 |