docs: add correct ctx.state example to init and docs (#3147)
- Correct outdated, non-functional and confusing "Removal of <Head> component" section of migration guide in the docs to be real functional code that uses Fresh 2 and define helpers correctly - Added example of ctx.state being used for a head component (title) because it's something almost every single project will need to know how to do. - Small change to define docs use of define.page to be more in line with its use commonly - Removed mention of deno-puppeteer - a non-official repository that hasn't been updated in three years - needing to be installed from `CONTRIBUTING.md`
This commit is contained in:
@@ -2,6 +2,4 @@
|
||||
|
||||
## Submitting a pull request
|
||||
|
||||
First, please be sure to
|
||||
[install Puppeteer](https://github.com/lucacasonato/deno-puppeteer#installation).
|
||||
Then, please ensure `deno task ok` is run and successfully passes.
|
||||
First, please be sure to ensure `deno task ok` is run and successfully passes.
|
||||
|
||||
Reference in New Issue
Block a user