chore: release 1.3.0 (#1460)

This commit is contained in:
Marvin Hagemeister
2023-07-18 18:09:13 +02:00
committed by GitHub
parent b3c22384e0
commit 2575ca5cad
13 changed files with 98 additions and 631 deletions
+4 -2
View File
@@ -9,14 +9,16 @@ wrapper is allowed per application.
The component to be wrapped is received via props, in addition to a few other
things. This allows for the introduction of a global container functioning as a
template which can be conditioned based on state and params.
template which can be conditioned based on state and params. Note that any state
set by middleware is available via `props.state`.
```tsx
// routes/_app.tsx
import { AppProps } from "$fresh/server.ts";
export default function App({ Component }: AppProps) {
export default function App({ Component, state }: AppProps) {
//do something with state here
return (
<div class="wrapper">
<Component />