Marvin Hagemeister

Results 233 issues of Marvin Hagemeister

This PR rewrites `Log` as a simple function that returns a plain object. This change slightly improves the final bundle size by removing an iife. Bundled output before this PR:...

This PR inlines two functions with the same function body. This shaves of a few bytes of the final bundle size.

I'm a heavy afterglow user and recently switched to VS Code as my main editor. Is there any interest in porting to VS Code?

Currently only `git` urls are supported.

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

# Reactive addon ## Summary This PR adds a new addon called `reactive`, which is an alternative to `hooks` for managing state. It's main purpose is to decouple the rendering...

# :rocket: Making Preact even faster Good news! We're experimenting with various ways to speed up Preact even more :100: To do so we have various enhancements and optimizations planned...

This PR moves `defaultProps` handling out of core into compat for v11. Migration: ```jsx // Preact < 11 function Foo(props) { return Hello {props.name}; } Foo.defaultProps = { name: "world",...

Restructure

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

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...