Hi guys, I’m learning Elm with the purpose to rebuild a personal project using Elm. actually I’m trying to figure out how to use multiples calls from api using Elm.
here is an example:
I have a home page and in it have two tables and a cards section.
the table one is populated with items from endpoint_1
the table two are populated with items from endpoint_2
and the cards are populated with items from endpoint_3
what I’m trying to understand is how can I call N endpoint on load action.
I’m very begginer in Elm so I just know the basic of http. I know that I can call the endpoints in init or using onclick. but has a better way to do what I mentioned?