rsnext/test/e2e/app-dir/base-path/app
Wyatt Johnson 1df2686bc9
Remove Base Path from usePathname output (#53582)
This removes the `basePath` from the output of `usePathname`. Previously this always resulted in hydration errors, this now strips the `basePath` when it's found/configured.

Now when you configure `basePath`, you don't have to factor it into your application logic and can instead rely on the values always returning the pathname without it.

Fixes #46562
2023-08-04 22:10:00 +00:00
..
dashboard Remove Base Path from usePathname output (#53582) 2023-08-04 22:10:00 +00:00
layout.jsx Remove Base Path from usePathname output (#53582) 2023-08-04 22:10:00 +00:00
page.jsx Remove Base Path from usePathname output (#53582) 2023-08-04 22:10:00 +00:00