You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
The SSR example in the API docs does not work as described. It looks like the API for createMemoryHistory is a little different (it expects initialEntries), and there's not clear where loadMatches is coming from in the code example.
Additionally, it seems like the router uses useLayoutEffect, which causes console warnings when trying to SSR.
The text was updated successfully, but these errors were encountered:
Describe the bug
The SSR example in the API docs does not work as described. It looks like the API for
createMemoryHistory
is a little different (it expectsinitialEntries
), and there's not clear whereloadMatches
is coming from in the code example.Additionally, it seems like the router uses
useLayoutEffect
, which causes console warnings when trying to SSR.The text was updated successfully, but these errors were encountered: