Rasmus Schultz

Results 488 comments of Rasmus Schultz

Why is there a cap on the number of paint calls? It appears to cause problems with the render scheduler in Fre - see this: https://github.com/yisar/fre/issues/271#issuecomment-907577159 The code seems to...

> However, if I'm not mistaken using a `Proxy` comes at the cost of some performance, which to be fair is probably fine for a lot of cases. In this...

One-liner is probably doable with `export =` ?

@sergey-shpak great minds... heh. I too tried to get around the noisy empty attributes object you have to pass with every call - although, for some reason, my attempts seemed...

For further reference, here's the type-definitions for [React](https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/react/index.d.ts) and [Inferno](https://gist.github.com/rendall/cdd23c962c88fac3dbd9322cc2b09d58), both of which are very similar (on the important points, the element/attributes-types and CSS properties) to the ones in [Snabbdom](https://github.com/alvivi/snabbdom-tsx/blob/master/src/dom.d.ts#L1886)...

Ping what? There are two open pull requests 😉 I suppose all those PRs are scrap now, though - if you're going to rewrite the whole thing.

It's about type-hinting. Try e.g. Preact with Typescript in VS Code for the full IDE experience - though this is not only for IDE support, but also for stricter and...

Unmounting (calling life-cycle events) would just be `patch(lastState, null, container)` right? Describing this as "unmounting" doesn't really make much sense though, as nothing gets "mounted" in the first place -...

I like Svelte - it removes so much of the noise that other frameworks add. I wish it was more popular. Have you seen [Malina](https://malinajs.github.io/docs/)? Similar to Svelte, but smaller...

> As a result there currently isn't a target that can safely used to minify code for IE11. An 'ie11' target that was essentially just 'es5' + let/const would be...