ELECTRON DYNAMIC ROUTES
Having massive dramas getting dynamic routes in electron to work for me. Any help would be great, It's successfully getting Id and triggering click. I've tried various patterns from docs to no success.
The paths I have are
src\pages\vehicles$vehicleId.tsx
src\pages\vehicles\index.tsx
When I click a vehicle from the list it triggers the event and passes the ID even if logged in createRoute but it doesn't route me anywhere. Nothing happens except my breadcrumb is updated with the vehicle ID as expected.
here is my click handler
The page I'm trying to route on click
1 Reply
ratty-blush•10mo ago
i assume you must use a different history for electron
probably memory history