{"action":"created","issue":{"url":"https://api.github.com/repos/gaearon/react-hot-boilerplate/issues/61","repository_url":"https://api.github.com/repos/gaearon/react-hot-boilerplate","labels_url":"https://api.github.com/repos/gaearon/react-hot-boilerplate/issues/61/labels{/name}","comments_url":"https://api.github.com/repos/gaearon/react-hot-boilerplate/issues/61/comments","events_url":"https://api.github.com/repos/gaearon/react-hot-boilerplate/issues/61/events","html_url":"https://github.com/gaearon/react-hot-boilerplate/pull/61","id":148980319,"number":61,"title":"React Hot Loader 3.0 beta demo","user":{"login":"gaearon","id":810438,"avatar_url":"https://avatars.githubusercontent.com/u/810438?v=3","gravatar_id":"","url":"https://api.github.com/users/gaearon","html_url":"https://github.com/gaearon","followers_url":"https://api.github.com/users/gaearon/followers","following_url":"https://api.github.com/users/gaearon/following{/other_user}","gists_url":"https://api.github.com/users/gaearon/gists{/gist_id}","starred_url":"https://api.github.com/users/gaearon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gaearon/subscriptions","organizations_url":"https://api.github.com/users/gaearon/orgs","repos_url":"https://api.github.com/users/gaearon/repos","events_url":"https://api.github.com/users/gaearon/events{/privacy}","received_events_url":"https://api.github.com/users/gaearon/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":73,"created_at":"2016-04-17T18:44:04Z","updated_at":"2016-04-30T17:09:00Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/gaearon/react-hot-boilerplate/pulls/61","html_url":"https://github.com/gaearon/react-hot-boilerplate/pull/61","diff_url":"https://github.com/gaearon/react-hot-boilerplate/pull/61.diff","patch_url":"https://github.com/gaearon/react-hot-boilerplate/pull/61.patch"},"body":"## A Big Update Is Coming\r\n\r\nReact Hot Loader 3 is [on the horizon](https://github.com/gaearon/react-hot-loader/pull/240), and you can try it today. It fixes some [long-standing issues](https://twitter.com/dan_abramov/status/722040946075045888) with both React Hot Loader and React Transform, and is intended as a replacement for both.\r\n\r\nSome nice things about it:\r\n\r\n* Editing functional components preserves state\r\n* Works great with higher order components\r\n* Little configuration\r\n* Disabled in production\r\n* Works with or without Babel (you can remove `react-hot-loader/babel` from `.babelrc` and instead add `react-hot-loader/webpack` to loaders)\r\n\r\nThe docs are not there yet, but they will be added before the final release.\r\n**For now, [this commit](https://github.com/gaearon/redux-devtools/commit/64f58b7010a1b2a71ad16716eb37ac1031f93915) is a good reference to upgrading your project from React Hot Loader 1 to React Hot Loader 3 alpha. Then see [another commit](https://github.com/gaearon/react-hot-boilerplate/commit/b52c727937a499f3efdc5dceb74ae952aa318c3a) as a reference for upgrading from React Hot Loader 3 alpha to React Hot Loader 3 beta.**\r\n\r\n---------------------\r\n\r\nWith lessons learned both from RHL and RT, here is a demo of a unified approach.\r\n\r\nThis is really undocumented for now, and we might change API later, so feel free to play with it at your own risk. 😉 \r\n\r\n`react-hot-loader/webpack` is intended to be optional. We will provide a complementary `react-hot-loader/babel` that detects unexported components as well. You will be able to use either, depending on whether you already use Babel or not.\r\n\r\n--------------------\r\n\r\n## Known Issues\r\n\r\n* Error reporting only works for initial mount, but this should be fixed when facebook/react#6020 lands.\r\n* React Router only works with synchronous routes and JSX configuration. The underlying issue is it doesn’t accept new props: https://github.com/reactjs/react-router/issues/2182.\r\n* `RedboxReact` sometimes fails to display an error message due to https://github.com/stacktracejs/stackframe/issues/11.\r\n"},"comment":{"url":"https://api.github.com/repos/gaearon/react-hot-boilerplate/issues/comments/215979436","html_url":"https://github.com/gaearon/react-hot-boilerplate/pull/61#issuecomment-215979436","issue_url":"https://api.github.com/repos/gaearon/react-hot-boilerplate/issues/61","id":215979436,"user":{"login":"gaearon","id":810438,"avatar_url":"https://avatars.githubusercontent.com/u/810438?v=3","gravatar_id":"","url":"https://api.github.com/users/gaearon","html_url":"https://github.com/gaearon","followers_url":"https://api.github.com/users/gaearon/followers","following_url":"https://api.github.com/users/gaearon/following{/other_user}","gists_url":"https://api.github.com/users/gaearon/gists{/gist_id}","starred_url":"https://api.github.com/users/gaearon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gaearon/subscriptions","organizations_url":"https://api.github.com/users/gaearon/orgs","repos_url":"https://api.github.com/users/gaearon/repos","events_url":"https://api.github.com/users/gaearon/events{/privacy}","received_events_url":"https://api.github.com/users/gaearon/received_events","type":"User","site_admin":false},"created_at":"2016-04-30T17:09:00Z","updated_at":"2016-04-30T17:09:00Z","body":"React Hot Loader 3 beta is out.\r\nRelease notes: https://github.com/gaearon/react-hot-loader/releases/tag/v3.0.0-beta.0."}}