preact icon indicating copy to clipboard operation
preact copied to clipboard

⚛️ Fast 3kB React alternative with the same modern API. Components & Virtual DOM.

Results 223 preact issues
Sort by recently updated
recently updated
newest added

**Describe the bug** I don't know the reason, but looks like component don't rerender if prop changes in short period of time. Just look on sandbox with react and preact...

- [X] Check if updating to the latest Preact version resolves the issue **Describe the bug** Looking at [these](https://github.com/preactjs/preact/blob/51771f7864d288c7f6bd00fd138cf5de59dd5404/src/jsx.d.ts#L2082) type declarations, I can see some attributes inside the `HTMLAttributes` interface...

types

I found a bug with empty result of lazy component. I could't fix it and opened [pr](https://github.com/preactjs/preact/pull/4075) with fallen test. Perhaps this is not so easy to fix. Maybe add...

suspense

I have spotted memory growth in a [performance benchmark](https://github.com/krausest/js-framework-benchmark). I have compared the same benchmark app with react. React clears memory when a component with useState is unmounted. Preact holds...

- [ ] Check if updating to the latest Preact version resolves the issue **Describe the bug** Trying to use typing (tsserver with JSDoc), with Preact/HTM, I get a type-mismatch...

types

- [x] Check if updating to the latest Preact version resolves the issue **Describe the bug** The issue is with some conflicts type of compat with React types, when other...

types

- [X] Check if updating to the latest Preact version resolves the issue **Describe the bug** [From Slack](https://preact.slack.com/archives/C3NMBSJKH/p1692741376856869) **To Reproduce** [TS Playground Link](https://www.typescriptlang.org/play?ssl=11&ssc=8&pln=1&pc=1#code/PQKgBAAgVgzgHmAxgJwKYEMAuqCiAbVAW1QDtMwRgAoAS0IAcB7ZcgbyrDAGFGHGTSmLgAsaeACYAaDkjRZcBYmWkBfMADNkvMAHJ6cxJh0BuKlUT8Y5ACqorYALxgAFKySiJaEmBUAuMG6IHuJe-jx8AmQiYuI+AJSOAHzuMV6mVAA8tlaJMgCMAEwAzJnA2ZiJQA) The React equivalent, using `ReactNode`, works just...

types

- [ ] Check if updating to the latest Preact version resolves the issue **Describe the bug** Love the project! Migration from React was _almost_ seamless. Immutable `VNodes`/`JSX`/`ReactNode` seem to...

Hey everyone, Really loving preact and all you do. Thank you so much for making this excellent piece of engineering. https://preactjs.com/guide/v10/switching-to-preact#suspense-experimental I noticed that while `Suspense` is available, it isn't...

discussion

Adding `requestAnimationFrame` as pollyfill for `useInsertionEffect`, for optimized styles related calculations by synchronizing to the refresh rate of the screen, resulting in the most high-fidelity animations possible 🧮 Benefits-: -...