{"action":"created","issue":{"url":"https://api.github.com/repos/MithrilJS/mithril.js/issues/1853","repository_url":"https://api.github.com/repos/MithrilJS/mithril.js","labels_url":"https://api.github.com/repos/MithrilJS/mithril.js/issues/1853/labels{/name}","comments_url":"https://api.github.com/repos/MithrilJS/mithril.js/issues/1853/comments","events_url":"https://api.github.com/repos/MithrilJS/mithril.js/issues/1853/events","html_url":"https://github.com/MithrilJS/mithril.js/issues/1853","id":229235136,"node_id":"MDU6SXNzdWUyMjkyMzUxMzY=","number":1853,"title":"Add option to make m.route use m.render instead of m.mount.","user":{"login":"ludbek","id":8296449,"node_id":"MDQ6VXNlcjgyOTY0NDk=","avatar_url":"https://avatars3.githubusercontent.com/u/8296449?v=4","gravatar_id":"","url":"https://api.github.com/users/ludbek","html_url":"https://github.com/ludbek","followers_url":"https://api.github.com/users/ludbek/followers","following_url":"https://api.github.com/users/ludbek/following{/other_user}","gists_url":"https://api.github.com/users/ludbek/gists{/gist_id}","starred_url":"https://api.github.com/users/ludbek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ludbek/subscriptions","organizations_url":"https://api.github.com/users/ludbek/orgs","repos_url":"https://api.github.com/users/ludbek/repos","events_url":"https://api.github.com/users/ludbek/events{/privacy}","received_events_url":"https://api.github.com/users/ludbek/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2017-05-17T04:35:04Z","updated_at":"2018-10-28T23:38:19Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"# Problem\r\nMithril has auto redraw system based upon dom and other events. So one has two different ways to redraw Mithril app\r\n    1. dom events\r\n    2. m.render\r\n\r\nThere are situations where one has to skip auto redraw and trigger redraw after a state changes. To me (and new comers) its an overhead to be aware of two different ways to redraw. The auto redraw system is completely redundant with tools like [mobx](https://mobx.js.org/). `m.route` has great api. Unfortunately it uses `m.mount` by default.\r\n\r\n# Solution\r\nIt would be great to have an option to make `m.route` work with `m.render`.\r\n"},"comment":{"url":"https://api.github.com/repos/MithrilJS/mithril.js/issues/comments/433753264","html_url":"https://github.com/MithrilJS/mithril.js/issues/1853#issuecomment-433753264","issue_url":"https://api.github.com/repos/MithrilJS/mithril.js/issues/1853","id":433753264,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMzc1MzI2NA==","user":{"login":"isiahmeadows","id":4483844,"node_id":"MDQ6VXNlcjQ0ODM4NDQ=","avatar_url":"https://avatars1.githubusercontent.com/u/4483844?v=4","gravatar_id":"","url":"https://api.github.com/users/isiahmeadows","html_url":"https://github.com/isiahmeadows","followers_url":"https://api.github.com/users/isiahmeadows/followers","following_url":"https://api.github.com/users/isiahmeadows/following{/other_user}","gists_url":"https://api.github.com/users/isiahmeadows/gists{/gist_id}","starred_url":"https://api.github.com/users/isiahmeadows/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/isiahmeadows/subscriptions","organizations_url":"https://api.github.com/users/isiahmeadows/orgs","repos_url":"https://api.github.com/users/isiahmeadows/repos","events_url":"https://api.github.com/users/isiahmeadows/events{/privacy}","received_events_url":"https://api.github.com/users/isiahmeadows/received_events","type":"User","site_admin":false},"created_at":"2018-10-28T23:38:19Z","updated_at":"2018-10-28T23:38:19Z","author_association":"COLLABORATOR","body":"Related discussions: #2148, #2179 (in subsequent discussion)"}}
{"actor":{"display_login":"isiahmeadows"}}