Archives : May-2015

Is there a way to get React Router to open a link in new tab? I tried this and it did not work. <Link to=”chart” target=”_blank” query={{test: this.props.test}} >Test</Link> It’s possible to fluff it by adding something like onClick=”foo” to the Link like what I have above, but there would be a console error. Thanks. ..

Read more

I am using react with react-router. I am trying to pass property‚Äôs in a “Link” of react-router var React = require(‘react’); var Router = require(‘react-router’); var CreateIdeaView = require(‘./components/createIdeaView.jsx’); var Link = Router.Link; var Route = Router.Route; var DefaultRoute = Router.DefaultRoute; var RouteHandler = Router.RouteHandler; var App = React.createClass({ render : function(){ return( <div> <Link ..

Read more