the following setup is given:
I have a simple master detail pattern. The master component pulls data from a REST API and passes the result to a detail component via input decorator.
If I reload the detail component, I lose all the data and end up with a content-empty page.
It seems wrong to me to implement some sort of fallback into the dumb component to reobtain the data from the REST API if necessary.
Are there any caching possibilities?
Should I just consider a redirect to the master component?
What is the best practice to keep data/handle missing data in a dumb component when reloading the page?
Source: Angular Questions