question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Better integration with react-router

See original GitHub issue

Just checked the issues backlog, seems there are quite a few issues with react-router users, mostly focused on the modal component, if there is anything else, please comment in this thread.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

13reactions
alextrasterocommented, Mar 25, 2017

hey @nfatah, you could also use it like this:

<Navbar brand='logo' right>
  <li><NavLink to="get-started">Getting started</NavLink></li>
  <li><NavLink to="components">Components</NavLink></li>
</Navbar>
0reactions
mlembke1commented, Dec 7, 2018

I have mirrored that functionality that @alextrastero has suggested:

 <SideNavItem className="border-bottom" waves>
        <li><Link className="link" to="/">Home</Link></li>
  </SideNavItem>
  <SideNavItem className="border-bottom" waves>
         <li><Link className="link" to="/portal">Portal</Link></li>
  </SideNavItem>

However, this only gives me the new error of: validateDOMNesting(...): <li> cannot appear as a descendant of <li>

Any advice here? Thanks in advance!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Deep Redux Integration - React Router v5
We want to make the integration of React Router and Redux as seamless as possible for ... Synchronize the routing data with, and...
Read more >
How To Handle Routing in React Apps with React Router
React Router lets you split out child routes directly in the component, which means you don't need to have the whole list in...
Read more >
Integration of React Routing - Medium
This application is intended to represent the work of React Router, organizing different types of routes. We will have several types of pages,...
Read more >
React Router with Redux: Understanding navigation state
Use React Router to declaratively navigate within your React and Redux applications and maintain state across your app's navigation ...
Read more >
React Router Integration - Sentry Documentation
The React Router integration is designed to work with our Tracing SDK, @sentry/tracing . Please see Getting Started with React Performance for more...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found