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

Includes https://github.com/preactjs/preact/pull/3651 and #3655

Got a problem when bundling preact with typescript main.bundle.js:1 Uncaught TypeError: Cannot read properties of undefined (reading '__H') at main.bundle.js:1:12917 at main.bundle.js:1:12990 at ne (main.bundle.js:1:13138) at main.bundle.js:1:14979 at main.bundle.js:1:15040 at...

I've got a problem when building Preact with gulp. After building the project my console gives me this error: "app.js:16 Uncaught TypeError: Cannot read properties of undefined (reading '__H')" ![image](https://user-images.githubusercontent.com/48789974/183705303-cd080de0-61a9-49f3-8c67-5842e8862b0b.png)...

It looks like useDeferredValue does nothing in Preact. This is a code from compat: ``` export function useDeferredValue(val) { return val; } ``` Is it possible to implement useDeferredValue it...

feature request

With Preact X being a great success there The 10.x release line was all about increasing ecosystem compatibility and the initiative was a complete success. Compared to Preact 8.x there...

discussion

- [ ] Check if updating to the latest Preact version resolves the issue **Describe the bug** if I have a component that returns children directly, it results in a...

types

Add example to the demo for zustand and redux-toolkit. These libraries are powerful state management. Zustand in actually is a micro state management and work by hooks, also even use...

Jest 28 supports `"exports"` field in `package.json`, and will interpret `./dist/preact.module.js` as CJS because it's using `.js` extension and the `package.json` doesn't contain `"type": "module"`. Switching to `.mjs` extension would...

- [x] Check if updating to the latest Preact version resolves the issue **Related** - https://github.com/shuding/nextra/issues/589 - https://github.com/preactjs/preact/issues/2690 - https://github.com/preactjs/preact/issues/3512 - https://github.com/preactjs/preact/issues/3393 - https://github.com/preactjs/next-plugin-preact/issues/53 - https://github.com/preactjs/preact/issues/3512 **Describe the bug** I...

This PR was opened by the [Changesets release](https://github.com/changesets/action) GitHub action. When you're ready to do a release, you can merge this and publish to npm yourself or [setup this action...