DataView needs 2 different dedicated routes due to the case of visitors coming directly to those routes from external sources to view/consume the data. In these cases no props can be passed.
As a result we need one dedicated component and route for each.
Clone the DataView component and add as DemoDataView using existing API /getfootprints with same functionality as DataView. This will be added as a route /demodataview.
Existing DataView will call to /getrealfootprints and will continue to have route /dataview.
DataView needs 2 different dedicated routes due to the case of visitors coming directly to those routes from external sources to view/consume the data. In these cases no props can be passed.
As a result we need one dedicated component and route for each.
Clone the DataView component and add as DemoDataView using existing API /getfootprints with same functionality as DataView. This will be added as a route /demodataview.
Existing DataView will call to /getrealfootprints and will continue to have route /dataview.