rsnext/packages/next/client
JJ Kasper 8dd3d2a8e2
Update handling for basePath to only automatically add (#13817)
As discussed, this streamlines the handling for `basePath` to not automatically strip and add the `basePath` when provided to `next/link` or `router.push/replace` and only automatically adds the `basePath` and when it is manually provided it will cause a 404 which ensures `href` still matches to the pages directory 1-to-1.

This also adds additional test cases that we discussed to ensure this behavior is working as intended

---

Fixes #13902
2020-06-08 15:59:50 +00:00
..
dev Remove unused variable (#13716) 2020-06-03 11:58:58 -04:00
head-manager.js Upgrade to Prettier 2 (#13061) 2020-05-18 15:24:37 -04:00
index.js Added no-shadow rule to eslint (#13645) 2020-06-01 21:00:22 +00:00
link.tsx Update handling for basePath to only automatically add (#13817) 2020-06-08 15:59:50 +00:00
next-dev.js Remove unused variable (#13716) 2020-06-03 11:58:58 -04:00
next.js Upgrade to Prettier 2 (#13061) 2020-05-18 15:24:37 -04:00
page-loader.js Update handling for basePath to only automatically add (#13817) 2020-06-08 15:59:50 +00:00
performance-relayer.js Upgrade to Prettier 2 (#13061) 2020-05-18 15:24:37 -04:00
polyfills.js polyfills 2020-03-30 16:26:25 -04:00
router.ts Upgrade to Prettier 2 (#13061) 2020-05-18 15:24:37 -04:00
with-router.tsx Convert wrapper class to function component (#9095) 2019-11-09 14:56:59 -08:00