Javascript – Using useEffect to add an item to a list property in an array of objects
Imagine the following situation: I have a registration flow in which some parts of this registration are saved in the session storage to be sent at the end of the flow for an API request. On one of these screens,…