When on a view page (e.g. study) and clicking on the edit button to go to the edit view, the data is reloaded even though the same data was loaded on the view page. Passing the data in the routerLinkqueryParams and checking for the queryParams in ngOnInit() should allow to reuse the loaded data, thus removing unnecessary queries and improving the app speed.
When on a view page (e.g. study) and clicking on the edit button to go to the edit view, the data is reloaded even though the same data was loaded on the view page. Passing the data in the
routerLink
queryParams
and checking for thequeryParams
inngOnInit()
should allow to reuse the loaded data, thus removing unnecessary queries and improving the app speed.