{"action":"created","issue":{"url":"https://api.github.com/repos/airbnb/react-dates/issues/769","repository_url":"https://api.github.com/repos/airbnb/react-dates","labels_url":"https://api.github.com/repos/airbnb/react-dates/issues/769/labels{/name}","comments_url":"https://api.github.com/repos/airbnb/react-dates/issues/769/comments","events_url":"https://api.github.com/repos/airbnb/react-dates/issues/769/events","html_url":"https://github.com/airbnb/react-dates/issues/769","id":265081415,"number":769,"title":"Errors when upgrading to latest react-dates","user":{"login":"jnrepo","id":5111058,"avatar_url":"https://avatars0.githubusercontent.com/u/5111058?v=4","gravatar_id":"","url":"https://api.github.com/users/jnrepo","html_url":"https://github.com/jnrepo","followers_url":"https://api.github.com/users/jnrepo/followers","following_url":"https://api.github.com/users/jnrepo/following{/other_user}","gists_url":"https://api.github.com/users/jnrepo/gists{/gist_id}","starred_url":"https://api.github.com/users/jnrepo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jnrepo/subscriptions","organizations_url":"https://api.github.com/users/jnrepo/orgs","repos_url":"https://api.github.com/users/jnrepo/repos","events_url":"https://api.github.com/users/jnrepo/events{/privacy}","received_events_url":"https://api.github.com/users/jnrepo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":22,"created_at":"2017-10-12T20:50:51Z","updated_at":"2017-10-16T16:13:50Z","closed_at":null,"author_association":"NONE","body":"upgrading from 12.1.0 to 13.0.3\r\n\r\nAfter installing the new module running into these errors, I think its something to do w/ storybook?\r\n\r\n```\r\nUncaught TypeError: Cannot read property 'theme' of undefined\r\n```\r\n\r\nand\r\n\r\n```\r\nWarning: React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: undefined. You likely forgot to export your component from the file it's defined in. Check the render method of `SearchFilters`.\r\n```\r\n\r\nand\r\n\r\n```\r\nUncaught Error: Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: undefined. You likely forgot to export your component from the file it's defined in. Check the render method of `SearchFilters`.\r\n```\r\n\r\nWondering if anyone else ran into these, and if there is a fix for them. Thanks in advanced!"},"comment":{"url":"https://api.github.com/repos/airbnb/react-dates/issues/comments/336937601","html_url":"https://github.com/airbnb/react-dates/issues/769#issuecomment-336937601","issue_url":"https://api.github.com/repos/airbnb/react-dates/issues/769","id":336937601,"user":{"login":"icd2k3","id":1458959,"avatar_url":"https://avatars2.githubusercontent.com/u/1458959?v=4","gravatar_id":"","url":"https://api.github.com/users/icd2k3","html_url":"https://github.com/icd2k3","followers_url":"https://api.github.com/users/icd2k3/followers","following_url":"https://api.github.com/users/icd2k3/following{/other_user}","gists_url":"https://api.github.com/users/icd2k3/gists{/gist_id}","starred_url":"https://api.github.com/users/icd2k3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/icd2k3/subscriptions","organizations_url":"https://api.github.com/users/icd2k3/orgs","repos_url":"https://api.github.com/users/icd2k3/repos","events_url":"https://api.github.com/users/icd2k3/events{/privacy}","received_events_url":"https://api.github.com/users/icd2k3/received_events","type":"User","site_admin":false},"created_at":"2017-10-16T16:13:50Z","updated_at":"2017-10-16T16:13:50Z","author_association":"NONE","body":"@majapw well it fixes the error, but it's actually not a great _solution_.\r\n\r\nI would like to keep `react-dates` in my webpack `common` entry chunk because my project utilizes a lot of code splitting. Because `react-dates` is used in a lot of places in my app this adds a lot of file size because it is now included in every code-split chunk that uses it.\r\n\r\nFor example, 12.6.0 was only included in `common.js`, whereas now in order to use 13.x the same source code will be included in `homepage.js`, `reports.js`, `etc.js`. This adds a lot to the overall loading time as the user clicks around the app.\r\n\r\nSo, now that we know what the issue is, I'd like to look for a better solve which allows me to keep `react-dates` in my separate entry chunk."}}
{"actor":{"display_login":"icd2k3"}}