The problem concerns the following: How to properly isolate components in lists, and work with events from those components?
Problem description:
- retrieve a list of objects (called events) from the server
- create and display a list of these events
- each event display has a "Sign up" button. When clicking this button we should produce a reaction to the corresponding event
Given the code below:
- The HTTP request is for some reason performed twice (should happen only once, on startup).