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
[x] The relevant native JavascriptEngineSwitcher library packages are installed (such as JavaScriptEngineSwitcher.V8.Native.win-x64)
[x] The VC++ 2017 runtime is installed
[x] The value of SetUseReact and SetUseBabel is correct in ReactConfig.cs or Startup.cs
[x] I've looked at the sample projects in this repo to verify that my app is configured correctly
I'm using these library versions:
ReactJS.NET: 5.2.11
JavaScriptEngineSwitcher: 3.3.0
react and react-dom: (N/A if using bundled react, or version number) 17.0.2
webpack: (N/A if using bundled react) 4.44.1
node: (N/A if using bundled react) 14.16.0
Runtime environment:
OS: Windows 11 64-bit
.NET Framework or .NET Core Version: .NET Framework 4.7.2
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.
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
JavaScriptEngineSwitcher.V8.Native.win-x64
)SetUseReact
andSetUseBabel
is correct inReactConfig.cs
orStartup.cs
I'm using these library versions:
ReactJS.NET
: 5.2.11JavaScriptEngineSwitcher
: 3.3.0react
andreact-dom
: (N/A if using bundled react, or version number) 17.0.2webpack
: (N/A if using bundled react) 4.44.1node
: (N/A if using bundled react) 14.16.0Runtime 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
.