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

I am working on a navigation menu for work and am noticing an inconsistency in the way Preact and React handle the onMouseLeave event for a div that contains a...

This is my new discovery, which can implement a diving model similar to React fiber in the logic of synchronous recursion. According to my experience, I think except for time...

feature request

- [ ] Check if updating to the latest Preact version resolves the issue (Full disclosure: this project is still on `^10.4.5` for now **but** the problem persists when testing...

I believe #3091 may have introduced a bug where `h('div', { children: 'foo' }, undefined)` would produce `{ children: undefined }`. This fixes that bug, if it is a bug....

- [x] Check if updating to the latest Preact version resolves the issue **Describe the bug** AMP is using a function ref to support functional Components exposing a `useImperativeHandle` API...

Hi there, I'm seeing incorrect ordering of DOM elements in Firefox on Mac when rendering the below component. It's being rendered inside a Suspense and a fragment if this helps....

In safari (latest v14), a picture element rendered with preact does not properly change its source as the window size changes. It works correctly on Chrome and works correctly in...

upstream

I'm trying to add a custom prop as a standard html attribute to all components, for example: ```jsx ``` ### Expected Behavior If I add an unknown prop to the...

This is a step towards making class and function components separate things, so that we can extract class components out of core. It basically copies the path for class components...

In the spirit of #2011, queue the `applyRef` calls as `_renderCallbacks` so they are invoked after the entire DOM is updated. This change effectively undos 40212ebea from #1658. I always...