Pierre-Yves Gérardy

Results 168 comments of Pierre-Yves Gérardy

> I guess the common predictable behavior is to completely remount component on any route change. It was the default with v0.2, which provided `m.redraw.strategy` to overcome it. That API...

Sure! It is probably a bit more involved than just moving the content of `recent-changes.md` to `changelog.md` and updating the configuration, because... - The title structure is incompatible (I'd modify...

Sometimes, the github auto-completion has weird heuristics...

@tivac The current bundler still has the advantage that the `module` polyfill works in every supported browser, out of the box. We'd have to deprecate the `tests/index.html` files and find...

@gyandeeps the Promise polyfill is there to have Mithril work out of the box in IE9-11. IE 11 is still relevant, and not everyone uses Babel or polyfills. Being able...

@foxdonut have you investigated how to fix this?

Thanks, I'll have to dig into that then :-) (unless you beat me to a PR)

Adding a check for this isn't hard, but it would add overhead in probably the most perf-sensitive function of the render engine. We may or may not add it depending...

@dead-claudia given that children are normalized to arrays, and that we want hooks to support fragments, how would the representation and handling of `m.hook({}, ...children)` differ from those of `m.fragment({},...

@mpfau Thanks for the report, my bad... Errors should be logged with `console.error()` at that point (this was meant to address this issue, but with coarser granularity (mount point rather...