4 ms·
By default, Mithril redraws the app after DOM events fire (in this case `onchange={filterHandler(func)}`), and when ajax requests are complete (using the `m.req
by pygy_ 9y ago
By default, Mithril redraws the app after DOM events fire (in this case `onchange={filterHandler(func)}`), and when ajax requests are complete (using the `m.request()` XHR wrapper).
You can also manually trigger a redraw by using `m.redraw()`, but it is rarely needed.