InnerWrap

A component that will be used to wrap the inner contents of the router.

This is useful for providing a context to the inner contents of the router where you also need access to the router context and hooks.

Only non-DOM-rendering components like providers should be used, anything else will cause a hydration error.

API Docs