{"action":"created","issue":{"url":"https://api.github.com/repos/qmlweb/qmlweb/issues/126","repository_url":"https://api.github.com/repos/qmlweb/qmlweb","labels_url":"https://api.github.com/repos/qmlweb/qmlweb/issues/126/labels{/name}","comments_url":"https://api.github.com/repos/qmlweb/qmlweb/issues/126/comments","events_url":"https://api.github.com/repos/qmlweb/qmlweb/issues/126/events","html_url":"https://github.com/qmlweb/qmlweb/issues/126","id":138984724,"number":126,"title":"refactor file/qml loading code","user":{"login":"henrikrudstrom","id":82979,"avatar_url":"https://avatars.githubusercontent.com/u/82979?v=3","gravatar_id":"","url":"https://api.github.com/users/henrikrudstrom","html_url":"https://github.com/henrikrudstrom","followers_url":"https://api.github.com/users/henrikrudstrom/followers","following_url":"https://api.github.com/users/henrikrudstrom/following{/other_user}","gists_url":"https://api.github.com/users/henrikrudstrom/gists{/gist_id}","starred_url":"https://api.github.com/users/henrikrudstrom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/henrikrudstrom/subscriptions","organizations_url":"https://api.github.com/users/henrikrudstrom/orgs","repos_url":"https://api.github.com/users/henrikrudstrom/repos","events_url":"https://api.github.com/users/henrikrudstrom/events{/privacy}","received_events_url":"https://api.github.com/users/henrikrudstrom/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/qmlweb/qmlweb/milestones/2","html_url":"https://github.com/qmlweb/qmlweb/milestones/0.3.0","labels_url":"https://api.github.com/repos/qmlweb/qmlweb/milestones/2/labels","id":1591557,"number":2,"title":"0.3.0","description":null,"creator":{"login":"ChALkeR","id":291301,"avatar_url":"https://avatars.githubusercontent.com/u/291301?v=3","gravatar_id":"","url":"https://api.github.com/users/ChALkeR","html_url":"https://github.com/ChALkeR","followers_url":"https://api.github.com/users/ChALkeR/followers","following_url":"https://api.github.com/users/ChALkeR/following{/other_user}","gists_url":"https://api.github.com/users/ChALkeR/gists{/gist_id}","starred_url":"https://api.github.com/users/ChALkeR/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ChALkeR/subscriptions","organizations_url":"https://api.github.com/users/ChALkeR/orgs","repos_url":"https://api.github.com/users/ChALkeR/repos","events_url":"https://api.github.com/users/ChALkeR/events{/privacy}","received_events_url":"https://api.github.com/users/ChALkeR/received_events","type":"User","site_admin":false},"open_issues":2,"closed_issues":0,"state":"open","created_at":"2016-02-18T20:10:41Z","updated_at":"2016-03-10T10:08:08Z","due_on":null,"closed_at":null},"comments":10,"created_at":"2016-03-07T14:01:20Z","updated_at":"2016-03-11T13:57:30Z","closed_at":null,"body":"Think we could clean up the structure a bit and make it easier to optimize and cache restructure the code relating to\r\n* Resolving imports to files\r\n* registering import paths\r\n* retrieving files\r\n* parsing files or loading parse trees / compiled qrc files\r\n* etc\r\n\r\nAdvantages:\r\n* Easier to implement efficient caching and other improvements (async file loading? etc)\r\n* Unload file handling responsibility from QMLEngine.js\r\n\r\n\r\nA start could be to move the import related code to the `qtcore/qrc.js` file and expose a simple api that can be used both by the qml engine and gulp-task.\r\n\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/qmlweb/qmlweb/issues/comments/195374753","html_url":"https://github.com/qmlweb/qmlweb/issues/126#issuecomment-195374753","issue_url":"https://api.github.com/repos/qmlweb/qmlweb/issues/126","id":195374753,"user":{"login":"Swatinem","id":580492,"avatar_url":"https://avatars.githubusercontent.com/u/580492?v=3","gravatar_id":"","url":"https://api.github.com/users/Swatinem","html_url":"https://github.com/Swatinem","followers_url":"https://api.github.com/users/Swatinem/followers","following_url":"https://api.github.com/users/Swatinem/following{/other_user}","gists_url":"https://api.github.com/users/Swatinem/gists{/gist_id}","starred_url":"https://api.github.com/users/Swatinem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Swatinem/subscriptions","organizations_url":"https://api.github.com/users/Swatinem/orgs","repos_url":"https://api.github.com/users/Swatinem/repos","events_url":"https://api.github.com/users/Swatinem/events{/privacy}","received_events_url":"https://api.github.com/users/Swatinem/received_events","type":"User","site_admin":false},"created_at":"2016-03-11T13:57:30Z","updated_at":"2016-03-11T13:57:30Z","body":"hah, that escalated quickly :-D My vdom experiments are ~2 years old. I’m now on the React bandwagon. But still skeptical especially concerning performance, etc.\r\n\r\nBut I do search for a truly *declarative* ui framework that tries to move things to compile time instead of runtime like react."}}