Data dodania Pytanie
2017-10-02 19:10 React router v4 wildcard next to index route »
Let's say we have this setup const Parent = () => ( <Switch> <Route path="/data" component={Child} </Switch> ) const Child...
(1) odpowiedzi
2017-09-24 04:09 React Router V4 protected private route with Redux-persist and React-snapshot »
I'm implementing private route like so using React Router Route Component: function PrivateRoute({component: Component, authed, emailVerified, ...res...
(0) odpowiedzi
2017-09-23 15:09 React router v4 - Authorized routes and components »
I have a problem to prevent unauthorized users from accessing authorized-only routes/components - such as logged in users dashboard I have the follow...
(1) odpowiedzi
2017-09-11 20:09 Authenticate async with react-router-v4 »
I have this PrivateRoute component (from the docs): const PrivateRoute = ({ component: Component, ...rest }) => ( <Route {...rest} render={pr...
(1) odpowiedzi
2017-09-03 22:09 What is wrong with my custom authentication react-router route? »
Unfortunately I fail to create a custom route with react-router version 4. I'm trying to construct a route which renders a component, if the user is a...
(2) odpowiedzi
2017-07-03 05:07 React Router 4, how to check for a possible redirect on all routes? »
In my app, after a user signs up, I need the user to confirm their email address before being able to use the app. If the user is authenticated state...
(0) odpowiedzi
2017-06-06 17:06 React Router changing params doesn't fire componentWillRecieveProps »
The Problem: Changing the parameters of a <Route /> component does not update the component it is rendering. The route change is shown in the UR...
(1) odpowiedzi
2017-05-17 17:05 react-router 4 not re-render when clicking <Link> »
I'm working on server-side rendering, so far the initial page can be rendered with react-router successfully according to the path entered to the brow...
(0) odpowiedzi
2017-05-10 18:05 How to handle data in direct children routes »
Im new in React and single apps and I have a question in this approach. Im using React-router 4. When routing lets say I have a ToDos component (myap...
(1) odpowiedzi
2017-05-05 07:05 Prompt is made when navigating within same route »
For the use case when a page has an internal route, the prompt triggers even when navigating to an internal route where a prompt might not be necessar...
(1) odpowiedzi
2017-04-23 23:04 Reactjs + Webpack 2.x + react-router 4.x after bundled without error, use html src bundle.js, css recognised., but no components rendered out »
Exactly like the title said. using webpack 2.x, react-router v4, bundling successful, no errors, yet open index.html, not showing exactly like the web...
(0) odpowiedzi
2017-04-09 19:04 React-router-dom v4 nested routes not working »
In reference to the unresolved question (as a final conclusion) Multiple Nested Routes in react-router-dom v4 How to nest routes in React Router v4...
(2) odpowiedzi
2017-01-04 23:01 Nested routes with react router v4 »
I am currently struggling with nesting routes using react router v4. The closest example was the route config in the React-Router v4 Documentation. ...
(1) odpowiedzi