React route with route params is doing postback #793

Closed
opened 2025-08-09 17:17:42 +00:00 by fergalmoran · 0 comments
Owner

Originally created by @bliitzkrieg on 4/30/2017

For some reason a react route I have is doing a postback nomatter what I do. The SSR is working correctly but accessing the route through a link on my app triggers a postback. Any idea how I can investigate what's going on?

This is my route:

    <Route path='/conference/:slug/:id' components={{ body: Conference }} />

Is there something I am doing wrong?

You can see all the code here: https://github.com/bliitzkrieg/Conferency/blob/master/Conferency.Application/ClientApp/routes.tsx

*Originally created by @bliitzkrieg on 4/30/2017* For some reason a react route I have is doing a postback nomatter what I do. The SSR is working correctly but accessing the route through a link on my app triggers a postback. Any idea how I can investigate what's going on? This is my route: ``` <Route path='/conference/:slug/:id' components={{ body: Conference }} /> ``` Is there something I am doing wrong? You can see all the code here: https://github.com/bliitzkrieg/Conferency/blob/master/Conferency.Application/ClientApp/routes.tsx
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/JavaScriptServices#793
No description provided.