This repository was archived by the owner on Jul 6, 2025. It is now read-only.
v0.3.0-beta.18
- Allow
useDeno
andssr.props
to accessRequest
(close #22, #364, #401)withexport default function Page() { const isLogined = useDeno(req => { return req.headers.get('Auth') === 'XXX' }, { revalidate: true }) return ( <p>isLogined: {isLogined}</p> ) }
ssr.props
options:export const ssr: SSROptions = { props: req => { return { $revalidate: true, username: req.params.username, logined: req.headers.get('Auth') === 'XXX' } } }
- Add code highlight for the markdown plugin (optional)
export default <Config> { plugins: [ markdown({ highlight: { provider: 'highlight.js', theme: 'github' } }), ] }
- Update
css.cache
config totrue
by default - More useful Error in import onerror (#403) @TjeuKayim
- Add Props generic to SSROptions (#402) @tatemz