rsnext/packages/next/client/components
Tim Neutkens 3d499a627f
Add test for link back to original page (#41297)
- Implements failing test
- Implemented handling for the case where the router tree does not match up with the segment path being navigated to. This is what caused the underlying error. 



## Bug

- [ ] Related issues linked using `fixes #number`
- [ ] Integration tests added
- [ ] Errors have a helpful link attached, see `contributing.md`

## Feature

- [ ] Implements an existing feature request or RFC. Make sure the feature request has been accepted for implementation before opening a PR.
- [ ] Related issues linked using `fixes #number`
- [ ] Integration tests added
- [ ] Documentation added
- [ ] Telemetry added. In case of a feature if it's used or not.
- [ ] Errors have a helpful link attached, see `contributing.md`

## Documentation / Examples

- [ ] Make sure the linting passes by running `pnpm lint`
- [ ] The "examples guidelines" are followed from [our contributing doc](https://github.com/vercel/next.js/blob/canary/contributing/examples/adding-examples.md)
2022-10-10 12:42:46 +00:00
..
app-router.client.tsx refactor dev overlay into hot reloader (#41231) 2022-10-07 13:25:22 +00:00
dynamic.tsx Alias next/dynamic to lazy impl for appDir (#41216) 2022-10-06 17:41:27 +02:00
hooks-client-context.ts Flush styles effects (#39268) 2022-08-03 16:21:20 +00:00
hooks-client.ts rename flush effects to server inserted html (#41073) 2022-10-03 13:43:35 +00:00
hooks-server-context.ts Upgrade react@experimental (#40885) 2022-09-25 21:35:05 +02:00
hooks-server.ts Apply #40833 (#40872) 2022-09-25 11:45:00 +02:00
hot-reloader.tsx refactor dev overlay into hot reloader (#41231) 2022-10-07 13:25:22 +00:00
infinite-promise.ts Handle redirects in new router (#40396) 2022-09-20 15:28:07 +02:00
layout-router.client.tsx Fix prefetch for new router (#41119) 2022-10-05 13:45:46 +00:00
match-segments.ts Flush styles effects (#39268) 2022-08-03 16:21:20 +00:00
not-found.ts Update handling of redirect/404 throw to cross server->client boundary (#40890) 2022-09-26 13:16:20 +02:00
redirect.ts Update handling of redirect/404 throw to cross server->client boundary (#40890) 2022-09-26 13:16:20 +02:00
reducer.ts Add test for link back to original page (#41297) 2022-10-10 12:42:46 +00:00
render-from-template-context.client.tsx Implement SWC transformer for server and client graphs (#40603) 2022-09-17 00:12:59 +02:00
request-async-storage.ts Apply #40833 (#40872) 2022-09-25 11:45:00 +02:00
static-generation-async-storage.ts Improved bundling strategy for the server graph (#40739) 2022-09-21 20:45:33 +02:00
use-reducer-with-devtools.ts misc: make useReducerWithDevtools noop on server (#41019) 2022-09-29 10:08:44 +00:00