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
I am facing a problem with Winjs and React Router when using the SplitView component.
Those are my components:
<Router><App/><Router>
``` app.js
<MySplitView><Routeexactpath="/"component={Home}/></MySplitView>
```mySplitView.js
<Winjs.SplitViewstyle={{height: "calc(100% - 48px)"}}paneComponent={<div>Navigation</div>}contentComponent={<div>{this.props.children}</div>}onAfterClose={this.handleAfterClose}closedDisplayMode="inline"openedDisplayMode="inline"paneOpened={this.state.paneOpened}/>
The error message is:
"TypeError: _ref2 is undefined
computeMatch"
And when using the `Switch` component from `react-router' I get a diffrent error regarding the context:
"TypeError: this.context.router is undefined"
So, I suggest that the SplitView component does not initialize the context correctly.
Hi,
I am facing a problem with Winjs and React Router when using the SplitView component.
Those are my components: