Skip to content

Commit 7f87e51

Browse files
committed
Update release notes
1 parent a8598d9 commit 7f87e51

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ We manage release notes in this file instead of the paginated Github Releases Pa
1818
- [Patch Changes](#patch-changes)
1919
- [Unstable Changes](#unstable-changes)
2020
- [Middleware (unstable)](#middleware-unstable)
21+
- [Middleware `context` parameter](#middleware-context-parameter)
2122
- [Client-side `context` (unstable)](#client-side-context-unstable)
2223
- [`unstable_SerializesTo`](#unstable_serializesto)
2324
- [Changes by Package](#changes-by-package)
@@ -466,7 +467,7 @@ const redirects: Route.unstable_MiddlewareFunction = async ({
466467
};
467468
```
468469

469-
**`context` parameter**
470+
##### Middleware `context` parameter
470471

471472
When middleware is enabled, your application will use a different type of `context` parameter in your loaders and actions to provide better type safety. Instead of `AppLoadContext`, `context` will now be an instance of `ContextProvider` that you can use with type-safe contexts (similar to `React.createContext`):
472473

0 commit comments

Comments
 (0)