I have the illusion that something similar has been asked here before but I can´t find it now. I would like to load data from my api based on a condition. The condition is that the URL includes a specific parameter. Is it possible to set this up?
I have a section on my page (show/hide) that only shows when the URL includes the parameter. When the section is hidden because there is no parameter I don´t want to load data from my API. Would it help to create a component of the section in this case?