rsnext/packages/next/client/components
Jimmy Lai c69677a553
remove reducer from server bundle (#40959)
This reducer takes a good chunk of the bundle but is never run on the server so we can eliminate it. 5-10ms wins from my manual benchmark runs.

![image](https://user-images.githubusercontent.com/11064311/192577550-4b2c3fa1-1ce9-456a-a635-d708e8200f2d.png)


## 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-09-27 16:36:17 +00:00
..
shared/dynamic Add shared dynamic api (#39163) 2022-07-29 11:03:05 +00:00
app-router.client.tsx Change flight querystring to header (#40752) 2022-09-21 15:47:31 +02:00
hooks-client-context.ts Flush styles effects (#39268) 2022-08-03 16:21:20 +00:00
hooks-client.ts Flush styles effects (#39268) 2022-08-03 16:21:20 +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.client.tsx Implement SWC transformer for server and client graphs (#40603) 2022-09-17 00:12:59 +02:00
infinite-promise.ts Handle redirects in new router (#40396) 2022-09-20 15:28:07 +02:00
layout-router.client.tsx Handle loading returning undefined (#40938) 2022-09-27 08:46:30 +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 remove reducer from server bundle (#40959) 2022-09-27 16:36:17 +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 Add prefetch to new router (#39866) 2022-09-06 17:29:09 +00:00