July 2019
Intermediate to advanced
310 pages
7h 26m
English
In the previous chapter, you learned how to build stateful Elm applications by applying the Elm Architecture to the Picshare application. You covered a range of concepts such as records, type aliases, custom types, models, view functions, messages, and update functions.
Your application’s functionality is limited, though. You can only interact with one photo that is hardcoded into the initial state. Real-world front-end applications don’t know the state of the world on their own. They must retrieve data from databases and other remote sources through HTTP REST APIs.
In this chapter, you will improve your Picshare application by retrieving the photo feed from an HTTP API. Along the way you will learn about JSON ...
Read now
Unlock full access