You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I wanted to show an overview page of items when there is no id present and a detailed view when I click on an item.
Expected outcome
route={path: '/overview/'}subroute={path: ''}subrouteData={}// after I tap on itemroute={path: '/overview/1'}subroute={path: '/1'}subrouteData={id: '1'}// when I go backroute={path: '/overview/'}subroute={path: ''}subrouteData={}
Actual outcome
route={path: '/overview/'}subroute={path: ''}subrouteData={}// after I tap on itemroute={path: '/overview/1'}subroute={path: '/1'}subrouteData={id: '1'}// when I go backroute={path: '/overview/'}subroute={path: ''}subrouteData={id: '1'}
Question
I was looking at the source code and saw that when you reset the properties of the element, that you have commented out the line to reset the data and now I'm wondering if there is a reason behind this?
Because when I uncomment it, it works just fine.
The text was updated successfully, but these errors were encountered:
Description
I basically have the same set up like this, but with the subroute inside another page.
I wanted to show an overview page of items when there is no id present and a detailed view when I click on an item.
Expected outcome
Actual outcome
Question
I was looking at the source code and saw that when you reset the properties of the element, that you have
commented out the line to reset the data and now I'm wondering if there is a reason behind this?
Because when I uncomment it, it works just fine.
The text was updated successfully, but these errors were encountered: