reactjs / React.NET

.NET library for JSX compilation and server-side rendering of React components
https://reactjs.net/
MIT License
2.28k stars 940 forks source link

ReactRouter extension method doesn't include "?" character for query string on .NET Framework #1270

Closed rshackleton closed 2 years ago

rshackleton commented 2 years ago

Thanks for filing a bug! To save time, if you're having trouble using the library, please check off the items you have tried. If you are just asking a question, skip right to the bottom.

Please verify these steps before filing an issue, and check them off as you go

I'm using these library versions:

Runtime environment:

Steps to reproduce

The query string passed to the component when server-side rendering via the ReactRouter extension doesn't include a "?" character when run under .NET Framework whereas on .NET Core it does include it. This results in the path not including a valid query string, for example /newspageIndex=1 rather than /news?pageIndex=1.