Problem with Show Detailed Data on the Home Active Experiments page
The button Show Detailed Data will make a GET request to the API endpoint (/summary/cxxx) for each experiment on the page. In my case I currently have 12 experiments on the page and therefore it will make 12 API Calls. The problem is that if you click a second time right after the first click it will make again those 12 API calls, now being 24 calls in total. If a non-friendly client spams that button it could do a large number of API calls and maybe congestionate the API.
* You can check it in the Developer Tools > Network tab, there you will see all the HTTP GET API calls.
Furthermore, I am not sure if this is well handled by axios nor the react framework because if I inspect those API calls each one of them downloads content as a response meaning that they are not getting canceled and replaced with the new request of the next click.
In case this requires to be fixed, I don't think it's hard to fix, we can set up a state variable for knowing if the summaries are rendered or not and include that into the onclick event of the button as a condition.