{"action":"created","issue":{"url":"https://api.github.com/repos/webpack/webpack/issues/917","labels_url":"https://api.github.com/repos/webpack/webpack/issues/917/labels{/name}","comments_url":"https://api.github.com/repos/webpack/webpack/issues/917/comments","events_url":"https://api.github.com/repos/webpack/webpack/issues/917/events","html_url":"https://github.com/webpack/webpack/issues/917","id":64530304,"number":917,"title":"DISCUSSION: handling themes and i18n cultures client-side","user":{"login":"jlchereau","id":2556751,"avatar_url":"https://avatars.githubusercontent.com/u/2556751?v=3","gravatar_id":"","url":"https://api.github.com/users/jlchereau","html_url":"https://github.com/jlchereau","followers_url":"https://api.github.com/users/jlchereau/followers","following_url":"https://api.github.com/users/jlchereau/following{/other_user}","gists_url":"https://api.github.com/users/jlchereau/gists{/gist_id}","starred_url":"https://api.github.com/users/jlchereau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jlchereau/subscriptions","organizations_url":"https://api.github.com/users/jlchereau/orgs","repos_url":"https://api.github.com/users/jlchereau/repos","events_url":"https://api.github.com/users/jlchereau/events{/privacy}","received_events_url":"https://api.github.com/users/jlchereau/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-26T13:49:03Z","updated_at":"2015-03-28T11:57:24Z","closed_at":"2015-03-28T11:57:24Z","body":"First, thank you for providing Webpack. I have found it easy to work with, except concerning the following scenario.\r\n\r\n### Use Case\r\n\r\nIn the browser, user selects theme and language, which are recorded in localStorage for further sessions. Based on the value in localStorage or default fallbacks, theme CSS and language JS resources are selectively downloaded from the server. Changing the theme or language **replaces** previous resources.\r\n\r\n### Webpack implementation\r\n\r\nI have looked at the docs for HMR, but besides not understanding it thoroughly, I am not sure HMR is thr best solution to this use case. Can you please either provide a link to further documentation or give some tips to implement this use case with webpack.\r\n\r\nThank you.\r\n   "},"comment":{"url":"https://api.github.com/repos/webpack/webpack/issues/comments/87216654","html_url":"https://github.com/webpack/webpack/issues/917#issuecomment-87216654","issue_url":"https://api.github.com/repos/webpack/webpack/issues/917","id":87216654,"user":{"login":"jlchereau","id":2556751,"avatar_url":"https://avatars.githubusercontent.com/u/2556751?v=3","gravatar_id":"","url":"https://api.github.com/users/jlchereau","html_url":"https://github.com/jlchereau","followers_url":"https://api.github.com/users/jlchereau/followers","following_url":"https://api.github.com/users/jlchereau/following{/other_user}","gists_url":"https://api.github.com/users/jlchereau/gists{/gist_id}","starred_url":"https://api.github.com/users/jlchereau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jlchereau/subscriptions","organizations_url":"https://api.github.com/users/jlchereau/orgs","repos_url":"https://api.github.com/users/jlchereau/repos","events_url":"https://api.github.com/users/jlchereau/events{/privacy}","received_events_url":"https://api.github.com/users/jlchereau/received_events","type":"User","site_admin":false},"created_at":"2015-03-28T11:57:24Z","updated_at":"2015-03-28T11:57:24Z","body":"See https://github.com/webpack/webpack/issues/923"}}