-
-
Notifications
You must be signed in to change notification settings - Fork 10.8k
Closed
Description
Version
5.1.0
Test Case
upgrading a site between 5.0.1 and 5.1.0 breaks the site.
Steps to reproduce
add a <link> inside a <browserRouter>
let BrowserRouter = ReactRouterDOM.BrowserRouter;
let Link = ReactRouterDOM.Link;
adding a to= doesnt make a difference
return (
<BrowserRouter>
<Link className="nav-link" >Home</Link>
Expected Behavior
link rendered
Actual Behavior
backend.js:6 Warning: Stateless function components cannot be given refs. Attempts to access this ref will fail.
Check the render method of e.
in Unknown (created by e)
in e
in Unknown (created by AppLayout)
in t (created by t)
in t (created by t)
in t (created by AppLayout)
in AppLayout
macpham
Metadata
Metadata
Assignees
Labels
No labels