Data dodania Pytanie
2017-01-17 14:01 How to link to nested routes in React Router »
Currently I am using the following code for my application. const { Router, Route, IndexRoute, Redirect, Link, IndexLink, ha...
(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
2017-01-02 14:01 Link to dynamic active class? »
router for routing purpose in my react app. Mine routing is defined in given manner: <Route path={food/:cuisine/:pageNo} component={foodList} a...
(0) odpowiedzi
2017-01-02 01:01 why splice not working correctly in react? »
I am trying to delete row from my list using delete button .I do like this if (state.indexOf(action.payload) > -1) { console.log('iff----') ...
(1) odpowiedzi
2016-12-31 01:12 React TransitionGroup and React.cloneElement do not send updated props »
I am following Chang Wang's tutorial for making reusable React transitions with HOCs and ReactTransitionGroup(Part 1 Part 2) in conjunction with Huan ...
(1) odpowiedzi
2016-12-30 16:12 Call a method on componentWillReceiveProps based on previous path url »
What I am trying to achieve is the call a method based on previous path url (I am using react-router). Previous path URL looks like http://www.websi...
(1) odpowiedzi
2016-12-23 16:12 React POST to Node Server and handle JSON response »
I am new to React so I am trying to understand how all this works together. Is there a way to change the component that is rendering for another comp...
(1) odpowiedzi
2016-12-22 03:12 React-router not matching query string »
My routes are defined as follows: <Router history={browserHistory}> <Route path="/" component={App}> <Route path="experiments...
(2) odpowiedzi
2016-12-19 23:12 ReactJS + React Router: How to reference a specific object to pass down as properties? »
I currently have a table and each cell has a button. Upon clicking the button, based on that particular day (Monday or Tuesday), class (class 1 or cla...
(1) odpowiedzi
2016-12-18 15:12 Match API and isomorphic routes »
I have an isomorphic app running on express: app.get('*', (req, res) => { match( { routes, location: req.url }, (error, redirec...
(2) odpowiedzi
2016-12-17 01:12 How to push props to a new page on button click? »
I currently have a table and each cell has a button. Upon clicking the button, based on that particular day (Monday or Tuesday), class (class 1 or cla...
(4) odpowiedzi
2016-12-05 06:12 What does {...props} in this React Component mean? »
Just starting out with react-router. I'm using react-router@next (version 4) when I came across this bit of code in github (at the bottom). I have w...
(2) odpowiedzi
2016-12-04 02:12 How do I redirect a user to a route when a certain Redux action is dispatched? »
I have a React + Redux + React Router web app that uses websockets for communication with the backend server. Let's say a user is halfway through usi...
(3) odpowiedzi
2016-11-19 00:11 Seeing empty page after deployed to S3 with React Route »
I build a SPA with React and React Router. I'm also using https://github.com/facebookincubator/create-react-app as it's a really simple application. W...
(1) odpowiedzi
2016-11-16 09:11 React with Adonis »
I am trying to integrate React with Adonis Js to build an SPA. Adonis handles routing to an SPA by Route.any('*', function * (request, response) { y...
(1) odpowiedzi
2016-11-10 10:11 How can I access a single view in on a SPA? »
I have a react-js application with the following structure: public src components - Books.js - BookShow.js - App.css - App.js - index...
(1) odpowiedzi
2016-10-31 15:10 getComponent doesn't render component »
I try to set up dynamic routing with react-router and webpack. require.ensure function loads module, but getComponent method doesn't render component....
(2) odpowiedzi
2016-10-27 02:10 How to hide component instead of unmounting it? »
I have my routes defined like this: <Route component={App}> <IndexRoute component={Main}/> <Route path="/foo" component={Foo...
(1) odpowiedzi
2016-10-24 13:10 In react router v4 how does one link to a fragment identifier? »
Given the very simple page (having assumed React and react-router@4 have been imported): // Current location: example.com/about <Link to="/about/#...
(0) odpowiedzi
2016-10-22 19:10 Django back end with a React front end »
The idea I've started off building this social media kind of website, which includes the basic social media pages such as a profile, a status feed, s...
(2) odpowiedzi
2016-10-20 23:10 React Router - Is there an 'easier' way to route to a new path besides using Context? »
Is there an easier or perhaps more recent way to be able to, for instance, click on a button and onClick of that button, reroute to a new path? .......
(1) odpowiedzi
2016-10-13 09:10 Reactjs Route Doesn't Return Correct Result »
I have 3 apps with this structure: import React from 'react' export default React.createClass({ render() { return <div>Hey App1!&lt...
(1) odpowiedzi
2016-10-11 17:10 Passing props to router, using redux and react-router »
I'm trying to set up the router in my app using redux and stateless components. Here I have my routes.jsx file: const TodoApp = (props) => { ...
(1) odpowiedzi
2016-10-10 05:10 React Router Push Silently »
In my case, I have several tabs. The tab container can be swiped. If user switching tab, the route will also be updated. For example: If user is in...
(1) odpowiedzi
2016-09-23 08:09 How to integrate twilio in react native for android? »
I am working with react native for building android mobile app which required twilio integration. i have used sample code from the npm repo. . https...
(1) odpowiedzi
2016-09-18 23:09 CSS and JavaScript breaking with onEnter with react-router »
So I was bringing in Material Design Lite and trying to add some components to the page. For some reason all of the component css was getting overrid...
(1) odpowiedzi
2016-09-18 17:09 React Router onEnter Error »
i'm trying to add route authentication to my reactjs app on react router, but whenever I add the authentication function i created to the on enter pro...
(2) odpowiedzi
2016-09-17 07:09 Set Material-UI tab active based on visited route »
In my new react-redux app (I'm a newbie to react), I'm using Material-UI and have added material-ui tabs on my web app. The tabs are intended to chang...
(3) odpowiedzi
2016-09-15 07:09 React router not redirecting on server »
I have a high order component that checks if a user is authenticated and if not will redirect to a different url. Its an isomorphic app and this work...
(1) odpowiedzi
2016-09-13 10:09 Sinatra and a client-side routing »
I have a simple application (server side is Sinatra, client side is ReactJS). The workflow is very basic: Sinatra handles get "/" request and sends a...
(1) odpowiedzi
2016-09-03 13:09 React Router: What's the purpose of Browser History? Is Browser History mandatory? »
Is the Browser History just for to change between already visited pages for and back? But browsers have these ability already. Why is another module ...
(1) odpowiedzi
2016-08-30 12:08 No href with Link In React-router »
I'm facing a very strange behaviour with React-Router. Following is the code of my component in React: import React, { PropTypes } from 'react'; impo...
(1) odpowiedzi
2016-08-29 21:08 React-intl disable react-router's Link component onClick event on Safari v8.0.8 »
I'm working on a react universal application who is rendered server side and client side. The application works #1 on Chrome, but on Safari, the react...
(1) odpowiedzi
2016-08-23 11:08 On React Router, how to stay logged in state even refresh the page? »
I'm making the website with React and React Router with Redux. Lots of routes(pages) requires logged in. I can redirect to login if user is not logged...
(2) odpowiedzi
2016-08-22 14:08 How to translate react-router Route paths »
My application has more than one locale (it, en). I need to translate all the routes. For example I have the terms and condition page that has to pat...
(1) odpowiedzi