We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2a66b0e commit 9a9f832Copy full SHA for 9a9f832
src/React.Router/ReactRouterFunctions.cs
@@ -9,8 +9,10 @@ public class ReactRouterFunctions : RenderFunctionsBase
9
{
10
/// <summary>
11
/// The returned react router context, as a JSON string
12
+ /// A default value wards off deserialization exceptions
13
+ /// when server side rendering is disabled
14
/// </summary>
- public string ReactRouterContext { get; private set; }
15
+ public string ReactRouterContext { get; private set; } = "{}";
16
17
18
/// Implementation of PreRender
0 commit comments