File tree Expand file tree Collapse file tree 1 file changed +4
-8
lines changed Expand file tree Collapse file tree 1 file changed +4
-8
lines changed Original file line number Diff line number Diff line change @@ -625,14 +625,10 @@ function getUrlBasedHistory(
625
625
} else {
626
626
warning (
627
627
false ,
628
- // TODO: Write up a doc that explains our blocking strategy in detail
629
- // and link to it here so people can understand better what is going on
630
- // and how to avoid it.
631
- `You are trying to block a POP navigation to a location that was not ` +
632
- `created by @remix-run/router. The block will fail silently in ` +
633
- `production, but in general you should do all navigation with the ` +
634
- `router (instead of using window.history.pushState directly) ` +
635
- `to avoid this situation.`
628
+ `You are trying to perform a POP navigation to a location that was not ` +
629
+ `created by @remix-run/router. This will fail silently in production. ` +
630
+ `You should navigate via the router to avoid this situation (instead of ` +
631
+ `using window.history.pushState/window.location.hash).`
636
632
) ;
637
633
}
638
634
}
You can’t perform that action at this time.
0 commit comments