mirror of
https://github.com/terribleplan/next.js.git
synced 2024-01-19 02:48:18 +00:00
Update "url deprecated" error docs with note re: React Dev Tools (#4652)
Fixes #4284 Made change as discussed in #4284
This commit is contained in:
parent
0989ecc223
commit
91900d1172
|
@ -6,6 +6,8 @@ In versions prior to 6.x the `url` property got magically injected into every `P
|
|||
|
||||
The reason this is going away is that we want to make things very predictable and explicit. Having a magical url property coming out of nowhere doesn't aid that goal.
|
||||
|
||||
*Note:* In some cases using React Dev Tools may trigger this warning even if you do not reference `url` anywhere in your code. Try temporarily disabling the extension and see if the warning persists.
|
||||
|
||||
#### Possible Ways to Fix It
|
||||
|
||||
https://github.com/zeit/next-codemod#url-to-withrouter
|
||||
|
|
Loading…
Reference in a new issue