Preact, like most other popular frameworks disallows passing stringified JavaScript code as event handlers. We have one occurrence of that in our doc search. The recent addition of including `preact/debug` during server rendering in #1256 surfaced this problem. This PR works around that by injecting a tiny script tag that attaches the event handler. Basically only a slightly different approach than before.
fresh website
This is the fresh website source. The fresh website contains:
- a homepage
- a documentation page
Usage
Start the project:
deno task start
This will watch the project directory and restart as necessary.