diff --git a/react-redux/react-redux-tests.tsx b/react-redux/react-redux-tests.tsx index a8841d080..6e883d1f0 100644 --- a/react-redux/react-redux-tests.tsx +++ b/react-redux/react-redux-tests.tsx @@ -111,18 +111,23 @@ React.render( Router.run(routes, Router.HistoryLocation, (Handler, routerState) => { // note "routerState" here React.render( - {() => } // note "routerState" here: important to pass it down + {/* + //TODO: error TS2339: Property 'routerState' does not exist on type 'RouteProp'. + {() => } // note "routerState" here: important to pass it down + */} , document.getElementById('root') ); }); -React.render( - - {() => ...} - , - targetEl -); +//TODO: for React Router 1.0 +//TODO: error TS2604: JSX element type 'Router' does not have any construct or call signatures. +//React.render( +// +// {() => ...} +// , +// targetEl +//); // Inject just dispatch and don't listen to store