-
Recreate:
- `npm install -g preact-cli`
- `preact create default my-project`
- `cd my-project`
- Add a `prerender-urls.json` into rootdir
```
[
{
"url": "/",
"title": "H…
-
Hi there — in our code we tend to apply CSS to a component on `componentDidMount` (specifically, using GSAP for complex animations).
However, when routing around I've noticed that preact-router (or…
-
```
Warning: Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
1. You might have mismatching versions o…
-
## Failing module
- **GitHub**: https://github.com/preactjs/wmr/tree/main/packages/preact-iso
- **npm**: https://www.npmjs.com/package/preact-iso
```js
import { lazy } from 'https://esm.sh/pre…
-
Expanding one of the ideas from here - https://github.com/ElMassimo/iles/issues/276. I want to run this past the community before submitting a PR. Please share your thoughts.
**Is your feature requ…
-
Using `preact-router` and the `useEffect` hook won't properly trigger the returned function.
For example, if we transform the `Clock` example from the Preact site (https://preactjs.com/guide/v10/co…
-
Hi!
I have a very basic setup as follows:
```jsx
import { h, render } from "preact";
import AsyncRoute from "preact-async-route";
import Router from "preact-router";
import Index from "./pag…
-
## Environment
My configs
`package.json`
```json
"dependencies": {
"@linaria/babel-preset": "^5.0.3",
"@linaria/core": "^5.0.2",
"@linaria/react": "^5.0.3",
"firebase"…
-
I'm considering using Preact. I've seen it supports Material design (https://github.com/developit/preact-mdl) and I don't know if react router v4 works without needing to change anything. I'm guessing…
-
I recently upgraded preact from 8 to 10 and updated `preact-markdown` from 0.5.0 to 2.0.0.
However, the component
``
returns `` when rendering with no console errors.
```
"preact": "^10…