{"action":"created","issue":{"url":"https://api.github.com/repos/choojs/choo/issues/556","repository_url":"https://api.github.com/repos/choojs/choo","labels_url":"https://api.github.com/repos/choojs/choo/issues/556/labels{/name}","comments_url":"https://api.github.com/repos/choojs/choo/issues/556/comments","events_url":"https://api.github.com/repos/choojs/choo/issues/556/events","html_url":"https://github.com/choojs/choo/issues/556","id":255382216,"number":556,"title":"Possibility to use choo without routing/router","user":{"login":"graforlock","id":7515380,"avatar_url":"https://avatars3.githubusercontent.com/u/7515380?v=4","gravatar_id":"","url":"https://api.github.com/users/graforlock","html_url":"https://github.com/graforlock","followers_url":"https://api.github.com/users/graforlock/followers","following_url":"https://api.github.com/users/graforlock/following{/other_user}","gists_url":"https://api.github.com/users/graforlock/gists{/gist_id}","starred_url":"https://api.github.com/users/graforlock/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/graforlock/subscriptions","organizations_url":"https://api.github.com/users/graforlock/orgs","repos_url":"https://api.github.com/users/graforlock/repos","events_url":"https://api.github.com/users/graforlock/events{/privacy}","received_events_url":"https://api.github.com/users/graforlock/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-09-05T19:25:22Z","updated_at":"2017-09-05T19:30:50Z","closed_at":null,"author_association":"NONE","body":"### Expected behavior\r\n\r\nWhen working in a hybrid, microservice routing environment, I should just mount the specific route (e.g. after code split) without using the any (or pushstate) router. Express is now a source of truth for router.\r\n\r\n### Actual behavior\r\n\r\nWhen working in a hybrid, microservice routing environment, I need to double up for express router instead letting express hit the route with `name-of-route.js` script. Express isn't now a source of truth for router.\r\n\r\nI could not find answer to that in any documentation bit so far, hence the question. Is it possible? It is because we have a higher level routing solution routing the site to many different places, places using different technologies that only share the theme, and are microservices essentially.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/choojs/choo/issues/comments/327278973","html_url":"https://github.com/choojs/choo/issues/556#issuecomment-327278973","issue_url":"https://api.github.com/repos/choojs/choo/issues/556","id":327278973,"user":{"login":"yoshuawuyts","id":2467194,"avatar_url":"https://avatars3.githubusercontent.com/u/2467194?v=4","gravatar_id":"","url":"https://api.github.com/users/yoshuawuyts","html_url":"https://github.com/yoshuawuyts","followers_url":"https://api.github.com/users/yoshuawuyts/followers","following_url":"https://api.github.com/users/yoshuawuyts/following{/other_user}","gists_url":"https://api.github.com/users/yoshuawuyts/gists{/gist_id}","starred_url":"https://api.github.com/users/yoshuawuyts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yoshuawuyts/subscriptions","organizations_url":"https://api.github.com/users/yoshuawuyts/orgs","repos_url":"https://api.github.com/users/yoshuawuyts/repos","events_url":"https://api.github.com/users/yoshuawuyts/events{/privacy}","received_events_url":"https://api.github.com/users/yoshuawuyts/received_events","type":"User","site_admin":false},"created_at":"2017-09-05T19:30:50Z","updated_at":"2017-09-05T19:30:50Z","author_association":"OWNER","body":"Heya! I tried answering this on IRC a lil bit back, but you popped out before I could finish writing my reply. Anyway, here is!\r\n\r\n```txt\r\nmaciejsitko> hey, is there a possibility not to use router? we have code splitting in the company and all routing is done by express anyway (it just hits different budnles per route)\r\n14:47 <maciejsitko> pushstate router kind of gets in the way this way\r\n14:47 ⇐ maciejsitko quit (1fdd04a2@gateway/web/freenode/ip.31.221.4.162) Client Quit\r\n14:48 <yoshuawuyts> maciejsitko: not really unfortunately; most of choo's glue is centered around the router. If your build process requires a custom routing it might be best to roll your own choo\r\n```"}}
{"actor":{"display_login":"yoshuawuyts"}}