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

By suggestion from @ mathiasbynens https://mobile.twitter.com/mathias/status/1229142133904478209 🎉 Size `-11 B` 🙌

Let's optimize for Brotli size: - It's supported by most modern browsers (and not IE 11). - It performs better than gzip.

- [ ] Check if updating to the latest Preact version resolves the issue **Describe the bug** (Sorry, this is going to be a really vague bug description. I don't...

AMP is attempting to ship npm modules containing both preact and react variants of our components. One of the sticking points was how do we easily remap from our preact...

- [ x] Check if updating to the latest Preact version resolves the issue A number of AntDesign bugs exist, preventing on us from using this. We likely have more,...

### Reproduction `Component.render`'s `props` and `state` parameters are great and very convenient, but it should not be optional, since both `this.props` and `state` are defined for every `Component`. If it's...

types

### Reproduction With this example, React creates a controlled input while Preact creates a uncontrolled input. ```js import React from "preact/compat"; function App() { return ; } ``` In fact,...

duplicate
compat
known issue

### Reproduction ```jsx class Foo { click(e) { this.setState({ clicked: true }) } handleEvent(e) { // nicety: `this` is the component this[e.type](e) } render() { return } } ``` ###...

discussion
feature request

I don't think this would be an easy task, but some libraries (i.e. [linaria](https://linaria.now.sh/)/react)'s type definitions are based on the type definitions of `@types/react`, which isn't compatible with Preact's type...

types