{"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 alpha 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":15,"created_at":"2016-04-17T18:44:04Z","updated_at":"2016-04-18T18:20:16Z","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.**\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\nError reporting only works for initial mount, but this should be fixed when facebook/react#6020 lands."},"comment":{"url":"https://api.github.com/repos/gaearon/react-hot-boilerplate/issues/comments/211511832","html_url":"https://github.com/gaearon/react-hot-boilerplate/pull/61#issuecomment-211511832","issue_url":"https://api.github.com/repos/gaearon/react-hot-boilerplate/issues/61","id":211511832,"user":{"login":"nfcampos","id":56902,"avatar_url":"https://avatars.githubusercontent.com/u/56902?v=3","gravatar_id":"","url":"https://api.github.com/users/nfcampos","html_url":"https://github.com/nfcampos","followers_url":"https://api.github.com/users/nfcampos/followers","following_url":"https://api.github.com/users/nfcampos/following{/other_user}","gists_url":"https://api.github.com/users/nfcampos/gists{/gist_id}","starred_url":"https://api.github.com/users/nfcampos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nfcampos/subscriptions","organizations_url":"https://api.github.com/users/nfcampos/orgs","repos_url":"https://api.github.com/users/nfcampos/repos","events_url":"https://api.github.com/users/nfcampos/events{/privacy}","received_events_url":"https://api.github.com/users/nfcampos/received_events","type":"User","site_admin":false},"created_at":"2016-04-18T18:20:16Z","updated_at":"2016-04-18T18:20:16Z","body":"@gaearon thanks, i'll try that"}}