{"_id":"react-hot-api","_rev":"305989","name":"react-hot-api","description":"A generic library implementing hot reload for React components without unmounting or losing their state.","dist-tags":{"latest":"0.5.0","next":"0.5.0-alpha-3"},"maintainers":[{"name":"gaearon","email":""}],"time":{"modified":"2021-06-03T19:31:50.000Z","created":"2014-12-12T05:01:59.407Z","0.4.7":"2015-09-28T11:34:39.278Z","0.5.0":"2015-09-02T12:20:54.034Z","0.5.0-alpha-3":"2015-08-27T21:44:00.440Z","0.5.0-alpha-2":"2015-08-24T14:22:28.644Z","0.5.0-alpha-1":"2015-08-24T10:21:08.870Z","0.5.0-alpha":"2015-08-22T15:12:13.318Z","0.4.6":"2015-08-21T18:33:19.344Z","0.4.5":"2015-07-08T11:01:57.305Z","0.4.4":"2015-05-01T23:34:35.072Z","0.4.3":"2015-03-10T04:08:51.154Z","0.4.2":"2015-03-10T04:08:01.065Z","0.4.1":"2015-03-09T20:20:25.898Z","0.4.0":"2015-03-09T19:51:33.058Z","0.3.7":"2015-03-04T20:39:40.795Z","0.3.6":"2015-03-02T17:23:42.908Z","0.3.5":"2015-02-26T01:58:17.236Z","0.3.4":"2015-01-31T22:42:52.711Z","0.3.3":"2015-01-30T05:24:55.816Z","0.3.2":"2015-01-28T13:07:58.496Z","0.3.1":"2015-01-28T12:36:41.152Z","0.3.0":"2015-01-12T14:01:44.316Z","0.2.2":"2014-12-31T16:39:11.691Z","0.2.1":"2014-12-19T12:19:23.602Z","0.2.0":"2014-12-19T04:47:02.027Z","0.1.6":"2014-12-12T17:02:44.684Z","0.1.5":"2014-12-12T17:00:28.054Z","0.1.4":"2014-12-12T16:28:25.014Z","0.1.3":"2014-12-12T06:09:38.991Z","0.1.2":"2014-12-12T05:58:23.893Z","0.1.1":"2014-12-12T05:04:04.459Z","0.1.0":"2014-12-12T05:01:59.407Z"},"users":{"moimikey":true},"author":{"name":"Dan Abramov","email":"dan.abramov@me.com","url":"http://github.com/gaearon"},"repository":{"type":"git","url":"https://github.com/gaearon/react-hot-api.git"},"versions":{"0.4.7":{"name":"react-hot-api","version":"0.4.7","description":"A generic library implementing hot reload for React components without unmounting or losing their state.","main":"modules/index.js","scripts":{"build":"./scripts/build"},"repository":{"type":"git","url":"git+https://github.com/gaearon/react-hot-api.git"},"author":{"name":"Dan Abramov","email":"dan.abramov@me.com","url":"http://github.com/gaearon"},"license":"MIT","bugs":{"url":"https://github.com/gaearon/react-hot-api/issues"},"homepage":"https://github.com/gaearon/react-hot-api","peerDependencies":{"react":">=0.11.0 || ^0.14.0-rc"},"devDependencies":{"webpack":"1.4.8"},"gitHead":"43475e8fd8175fbcd32446d25a1139e9f00f0b28","_id":"react-hot-api@0.4.7","_shasum":"a7e22a56d252e11abd9366b61264cf4492c58171","_from":".","_npmVersion":"3.3.3","_nodeVersion":"2.2.1","_npmUser":{"name":"gaearon","email":"dan.abramov@gmail.com"},"dist":{"shasum":"a7e22a56d252e11abd9366b61264cf4492c58171","size":7454,"noattachment":false,"key":"/react-hot-api/-/react-hot-api-0.4.7.tgz","tarball":"http://registry.cnpm.dingdandao.com/react-hot-api/download/react-hot-api-0.4.7.tgz"},"maintainers":[{"name":"gaearon","email":""}],"directories":{},"publish_time":1443440079278,"_cnpm_publish_time":1443440079278,"_hasShrinkwrap":false},"0.5.0":{"name":"react-hot-api","version":"0.5.0","description":"A generic library implementing hot reload for React components without unmounting or losing their state.","main":"modules/index.js","scripts":{"build":"./scripts/build"},"repository":{"type":"git","url":"https://github.com/gaearon/react-hot-api.git"},"author":{"name":"Dan Abramov","email":"dan.abramov@me.com","url":"http://github.com/gaearon"},"license":"MIT","bugs":{"url":"https://github.com/gaearon/react-hot-api/issues"},"homepage":"https://github.com/gaearon/react-hot-api","peerDependencies":{"react":">=0.13.0 || ^0.14.0-alpha"},"devDependencies":{"webpack":"1.4.8"},"dependencies":{"react-proxy":"^1.0.0"},"gitHead":"29ee3282c3ddc0710c296db167f514b36ce41ead","_id":"react-hot-api@0.5.0","_shasum":"16ce3473fae1c635f9f09d29cb05b493552327d7","_from":".","_npmVersion":"2.11.0","_nodeVersion":"2.2.1","_npmUser":{"name":"gaearon","email":"dan.abramov@gmail.com"},"dist":{"shasum":"16ce3473fae1c635f9f09d29cb05b493552327d7","size":16021,"noattachment":false,"key":"/react-hot-api/-/react-hot-api-0.5.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/react-hot-api/download/react-hot-api-0.5.0.tgz"},"maintainers":[{"name":"gaearon","email":""}],"directories":{},"publish_time":1441196454034,"_cnpm_publish_time":1441196454034,"_hasShrinkwrap":false},"0.5.0-alpha-3":{"name":"react-hot-api","version":"0.5.0-alpha-3","description":"A generic library implementing hot reload for React components without unmounting or losing their state.","main":"modules/index.js","scripts":{"build":"./scripts/build"},"repository":{"type":"git","url":"git+https://github.com/gaearon/react-hot-api.git"},"author":{"name":"Dan Abramov","email":"dan.abramov@me.com","url":"http://github.com/gaearon"},"license":"MIT","bugs":{"url":"https://github.com/gaearon/react-hot-api/issues"},"homepage":"https://github.com/gaearon/react-hot-api","peerDependencies":{"react":">=0.13.0 || ^0.14.0-alpha"},"devDependencies":{"webpack":"1.4.8"},"dependencies":{"react-proxy":"^0.6.6"},"gitHead":"15a5cea9efded39059e4edfb7dd9e2a596a5fb99","_id":"react-hot-api@0.5.0-alpha-3","_shasum":"49b716542641f2be4cf0b147911d86beab11dbcd","_from":".","_npmVersion":"2.11.0","_nodeVersion":"2.2.1","_npmUser":{"name":"gaearon","email":"dan.abramov@gmail.com"},"dist":{"shasum":"49b716542641f2be4cf0b147911d86beab11dbcd","size":15665,"noattachment":false,"key":"/react-hot-api/-/react-hot-api-0.5.0-alpha-3.tgz","tarball":"http://registry.cnpm.dingdandao.com/react-hot-api/download/react-hot-api-0.5.0-alpha-3.tgz"},"maintainers":[{"name":"gaearon","email":""}],"directories":{},"publish_time":1440711840440,"_cnpm_publish_time":1440711840440,"_hasShrinkwrap":false},"0.5.0-alpha-2":{"name":"react-hot-api","version":"0.5.0-alpha-2","description":"A generic library implementing hot reload for React components without unmounting or losing their state.","main":"modules/index.js","scripts":{"build":"./scripts/build"},"repository":{"type":"git","url":"git+https://github.com/gaearon/react-hot-api.git"},"author":{"name":"Dan Abramov","email":"dan.abramov@me.com","url":"http://github.com/gaearon"},"license":"MIT","bugs":{"url":"https://github.com/gaearon/react-hot-api/issues"},"homepage":"https://github.com/gaearon/react-hot-api","peerDependencies":{"react":">=0.13.0 || ^0.14.0-alpha"},"devDependencies":{"webpack":"1.4.8"},"dependencies":{"react-proxy":"^0.6.5"},"gitHead":"6496a0c81572b9a6fcb13c7584b1c9195d162501","_id":"react-hot-api@0.5.0-alpha-2","_shasum":"c1ea7ae6489e5367a2282d7b8289092e6fb87ded","_from":".","_npmVersion":"2.11.0","_nodeVersion":"2.2.1","_npmUser":{"name":"gaearon","email":"dan.abramov@gmail.com"},"dist":{"shasum":"c1ea7ae6489e5367a2282d7b8289092e6fb87ded","size":15659,"noattachment":false,"key":"/react-hot-api/-/react-hot-api-0.5.0-alpha-2.tgz","tarball":"http://registry.cnpm.dingdandao.com/react-hot-api/download/react-hot-api-0.5.0-alpha-2.tgz"},"maintainers":[{"name":"gaearon","email":""}],"directories":{},"publish_time":1440426148644,"_cnpm_publish_time":1440426148644,"_hasShrinkwrap":false},"0.5.0-alpha-1":{"name":"react-hot-api","version":"0.5.0-alpha-1","description":"A generic library implementing hot reload for React components without unmounting or losing their state.","main":"modules/index.js","scripts":{"build":"./scripts/build"},"repository":{"type":"git","url":"git+https://github.com/gaearon/react-hot-api.git"},"author":{"name":"Dan Abramov","email":"dan.abramov@me.com","url":"http://github.com/gaearon"},"license":"MIT","bugs":{"url":"https://github.com/gaearon/react-hot-api/issues"},"homepage":"https://github.com/gaearon/react-hot-api","peerDependencies":{"react":">=0.13.0 || ^0.14.0-alpha"},"devDependencies":{"webpack":"1.4.8"},"dependencies":{"react-proxy":"^0.6.5"},"gitHead":"b51cfaef3ed66a593d5c2650bf8b9b1195f4bdbb","_id":"react-hot-api@0.5.0-alpha-1","_shasum":"e319804f83879a2be27fd9d5d43582b045a0140d","_from":".","_npmVersion":"2.11.0","_nodeVersion":"2.2.1","_npmUser":{"name":"gaearon","email":"dan.abramov@gmail.com"},"dist":{"shasum":"e319804f83879a2be27fd9d5d43582b045a0140d","size":15659,"noattachment":false,"key":"/react-hot-api/-/react-hot-api-0.5.0-alpha-1.tgz","tarball":"http://registry.cnpm.dingdandao.com/react-hot-api/download/react-hot-api-0.5.0-alpha-1.tgz"},"maintainers":[{"name":"gaearon","email":""}],"deprecated":"BROKEN NPM RELEASE. USE 0.5.0-alpha-2.","directories":{},"publish_time":1440411668870,"_cnpm_publish_time":1440411668870,"_hasShrinkwrap":false},"0.5.0-alpha":{"name":"react-hot-api","version":"0.5.0-alpha","description":"A generic library implementing hot reload for React components without unmounting or losing their state.","main":"modules/index.js","scripts":{"build":"./scripts/build"},"repository":{"type":"git","url":"git+https://github.com/gaearon/react-hot-api.git"},"author":{"name":"Dan Abramov","email":"dan.abramov@me.com","url":"http://github.com/gaearon"},"license":"MIT","bugs":{"url":"https://github.com/gaearon/react-hot-api/issues"},"homepage":"https://github.com/gaearon/react-hot-api","peerDependencies":{"react":">=0.13.0 || ^0.14.0-alpha"},"devDependencies":{"webpack":"1.4.8"},"dependencies":{"react-proxy":"^0.6.1"},"gitHead":"c33cfb46a042b834cd20f0776246a0a2a1bbf25d","_id":"react-hot-api@0.5.0-alpha","_shasum":"e4a012afa92272defe7421d34a31ab5732e27952","_from":".","_npmVersion":"2.11.0","_nodeVersion":"2.2.1","_npmUser":{"name":"gaearon","email":"dan.abramov@gmail.com"},"dist":{"shasum":"e4a012afa92272defe7421d34a31ab5732e27952","size":14869,"noattachment":false,"key":"/react-hot-api/-/react-hot-api-0.5.0-alpha.tgz","tarball":"http://registry.cnpm.dingdandao.com/react-hot-api/download/react-hot-api-0.5.0-alpha.tgz"},"maintainers":[{"name":"gaearon","email":""}],"directories":{},"publish_time":1440256333318,"_cnpm_publish_time":1440256333318,"_hasShrinkwrap":false},"0.4.6":{"name":"react-hot-api","version":"0.4.6","description":"A generic library implementing hot reload for React components without unmounting or losing their state.","main":"modules/index.js","scripts":{"build":"./scripts/build"},"repository":{"type":"git","url":"git+https://github.com/gaearon/react-hot-api.git"},"author":{"name":"Dan Abramov","email":"dan.abramov@me.com","url":"http://github.com/gaearon"},"license":"MIT","bugs":{"url":"https://github.com/gaearon/react-hot-api/issues"},"homepage":"https://github.com/gaearon/react-hot-api","peerDependencies":{"react":">=0.11.0 || 0.13.0-beta.1 || 0.13.0-rc1 || 0.13.0-rc2 || ^0.14.0-alpha"},"devDependencies":{"webpack":"1.4.8"},"gitHead":"957ae044776dcb12248d0ae6ad8989603f817dd0","_id":"react-hot-api@0.4.6","_shasum":"7685e2420a1d327b08f447724b23924099557d73","_from":".","_npmVersion":"2.11.0","_nodeVersion":"2.2.1","_npmUser":{"name":"gaearon","email":"dan.abramov@gmail.com"},"dist":{"shasum":"7685e2420a1d327b08f447724b23924099557d73","size":7453,"noattachment":false,"key":"/react-hot-api/-/react-hot-api-0.4.6.tgz","tarball":"http://registry.cnpm.dingdandao.com/react-hot-api/download/react-hot-api-0.4.6.tgz"},"maintainers":[{"name":"gaearon","email":""}],"directories":{},"publish_time":1440181999344,"_cnpm_publish_time":1440181999344,"_hasShrinkwrap":false},"0.4.5":{"name":"react-hot-api","version":"0.4.5","description":"A generic library implementing hot reload for React components without unmounting or losing their state.","main":"modules/index.js","scripts":{"build":"./scripts/build"},"repository":{"type":"git","url":"git+https://github.com/gaearon/react-hot-api.git"},"author":{"name":"Dan Abramov","email":"dan.abramov@me.com","url":"http://github.com/gaearon"},"license":"MIT","bugs":{"url":"https://github.com/gaearon/react-hot-api/issues"},"homepage":"https://github.com/gaearon/react-hot-api","peerDependencies":{"react":">=0.11.0 || 0.13.0-beta.1 || 0.13.0-rc1 || 0.13.0-rc2 || 0.14.0-beta1"},"devDependencies":{"webpack":"1.4.8"},"gitHead":"0176403f6d41bf5aa64bcad814d7c9eb046c889d","_id":"react-hot-api@0.4.5","_shasum":"05a49502436380ce653df9cd4ae5783b13972e7a","_from":".","_npmVersion":"2.11.0","_nodeVersion":"2.2.1","_npmUser":{"name":"gaearon","email":"dan.abramov@gmail.com"},"dist":{"shasum":"05a49502436380ce653df9cd4ae5783b13972e7a","size":7435,"noattachment":false,"key":"/react-hot-api/-/react-hot-api-0.4.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/react-hot-api/download/react-hot-api-0.4.5.tgz"},"maintainers":[{"name":"gaearon","email":""}],"directories":{},"publish_time":1436353317305,"_cnpm_publish_time":1436353317305,"_hasShrinkwrap":false},"0.4.4":{"name":"react-hot-api","version":"0.4.4","description":"A generic library implementing hot reload for React components without unmounting or losing their state.","main":"modules/index.js","scripts":{"build":"./scripts/build"},"repository":{"type":"git","url":"https://github.com/gaearon/react-hot-api.git"},"author":{"name":"Dan Abramov","email":"dan.abramov@me.com","url":"http://github.com/gaearon"},"license":"MIT","bugs":{"url":"https://github.com/gaearon/react-hot-api/issues"},"homepage":"https://github.com/gaearon/react-hot-api","peerDependencies":{"react":">=0.11.0 || 0.13.0-beta.1 || 0.13.0-rc1 || 0.13.0-rc2"},"devDependencies":{"webpack":"1.4.8"},"gitHead":"a53ae19df290f96583a691a7356a68a2a16a0487","_id":"react-hot-api@0.4.4","_shasum":"ed75b7a77fba9c9c1837bf214ea6c1187d57a174","_from":".","_npmVersion":"2.7.4","_nodeVersion":"0.12.2","_npmUser":{"name":"gaearon","email":"dan.abramov@gmail.com"},"maintainers":[{"name":"gaearon","email":""}],"dist":{"shasum":"ed75b7a77fba9c9c1837bf214ea6c1187d57a174","size":7422,"noattachment":false,"key":"/react-hot-api/-/react-hot-api-0.4.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/react-hot-api/download/react-hot-api-0.4.4.tgz"},"directories":{},"publish_time":1430523275072,"_cnpm_publish_time":1430523275072,"_hasShrinkwrap":false},"0.4.3":{"name":"react-hot-api","version":"0.4.3","description":"A generic library implementing hot reload for React components without unmounting or losing their state.","main":"modules/index.js","scripts":{"build":"./scripts/build"},"repository":{"type":"git","url":"https://github.com/gaearon/react-hot-api.git"},"author":{"name":"Dan Abramov","email":"dan.abramov@me.com","url":"http://github.com/gaearon"},"license":"MIT","bugs":{"url":"https://github.com/gaearon/react-hot-api/issues"},"homepage":"https://github.com/gaearon/react-hot-api","peerDependencies":{"react":">=0.11.0 || 0.13.0-beta.1 || 0.13.0-rc1 || 0.13.0-rc2"},"devDependencies":{"webpack":"1.4.8"},"gitHead":"172f3372affe79f53322ef077a2a368d307bd76a","_id":"react-hot-api@0.4.3","_shasum":"3d08c72c7d37f0ed53ac4c5c1caa5a581174db49","_from":".","_npmVersion":"2.6.0","_nodeVersion":"1.4.1","_npmUser":{"name":"gaearon","email":"dan.abramov@gmail.com"},"maintainers":[{"name":"gaearon","email":""}],"dist":{"shasum":"3d08c72c7d37f0ed53ac4c5c1caa5a581174db49","size":7495,"noattachment":false,"key":"/react-hot-api/-/react-hot-api-0.4.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/react-hot-api/download/react-hot-api-0.4.3.tgz"},"directories":{},"publish_time":1425960531154,"_cnpm_publish_time":1425960531154,"_hasShrinkwrap":false},"0.4.2":{"name":"react-hot-api","version":"0.4.2","description":"A generic library implementing hot reload for React components without unmounting or losing their state.","main":"modules/index.js","scripts":{"build":"./scripts/build"},"repository":{"type":"git","url":"https://github.com/gaearon/react-hot-api.git"},"author":{"name":"Dan Abramov","email":"dan.abramov@me.com","url":"http://github.com/gaearon"},"license":"MIT","bugs":{"url":"https://github.com/gaearon/react-hot-api/issues"},"homepage":"https://github.com/gaearon/react-hot-api","peerDependencies":{"react":">=0.11.0 || 0.13.0-beta.1 || 0.13.0-rc1 || 0.13.0-rc2"},"devDependencies":{"webpack":"1.4.8"},"gitHead":"da1ef10fc4f042a1fd2a8807e47df3e666d5a1aa","_id":"react-hot-api@0.4.2","_shasum":"989b6a0f61fa4281f241d1906c2fef73dbbc4a05","_from":".","_npmVersion":"2.6.0","_nodeVersion":"1.4.1","_npmUser":{"name":"gaearon","email":"dan.abramov@gmail.com"},"maintainers":[{"name":"gaearon","email":""}],"dist":{"shasum":"989b6a0f61fa4281f241d1906c2fef73dbbc4a05","size":7488,"noattachment":false,"key":"/react-hot-api/-/react-hot-api-0.4.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/react-hot-api/download/react-hot-api-0.4.2.tgz"},"directories":{},"publish_time":1425960481065,"_cnpm_publish_time":1425960481065,"_hasShrinkwrap":false},"0.4.1":{"name":"react-hot-api","version":"0.4.1","description":"A generic library implementing hot reload for React components without unmounting or losing their state.","main":"modules/index.js","scripts":{"build":"./scripts/build"},"repository":{"type":"git","url":"https://github.com/gaearon/react-hot-api.git"},"author":{"name":"Dan Abramov","email":"dan.abramov@me.com","url":"http://github.com/gaearon"},"license":"MIT","bugs":{"url":"https://github.com/gaearon/react-hot-api/issues"},"homepage":"https://github.com/gaearon/react-hot-api","peerDependencies":{"react":">=0.11.0 || 0.13.0-beta.1 || 0.13.0-rc1 || 0.13.0-rc2"},"devDependencies":{"webpack":"1.4.8"},"gitHead":"0f67961646e658b6d051ef4e5262b3a80d2faaa1","_id":"react-hot-api@0.4.1","_shasum":"e96ae001acd6847d01a30232600b3b1535779c01","_from":".","_npmVersion":"2.6.0","_nodeVersion":"1.4.1","_npmUser":{"name":"gaearon","email":"dan.abramov@gmail.com"},"maintainers":[{"name":"gaearon","email":""}],"dist":{"shasum":"e96ae001acd6847d01a30232600b3b1535779c01","size":7443,"noattachment":false,"key":"/react-hot-api/-/react-hot-api-0.4.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/react-hot-api/download/react-hot-api-0.4.1.tgz"},"directories":{},"publish_time":1425932425898,"_cnpm_publish_time":1425932425898,"_hasShrinkwrap":false},"0.4.0":{"name":"react-hot-api","version":"0.4.0","description":"A generic library implementing hot reload for React components without unmounting or losing their state.","main":"modules/index.js","scripts":{"build":"./scripts/build"},"repository":{"type":"git","url":"https://github.com/gaearon/react-hot-api.git"},"author":{"name":"Dan Abramov","email":"dan.abramov@me.com","url":"http://github.com/gaearon"},"license":"MIT","bugs":{"url":"https://github.com/gaearon/react-hot-api/issues"},"homepage":"https://github.com/gaearon/react-hot-api","peerDependencies":{"react":">=0.11.0 || 0.13.0-beta.1 || 0.13.0-rc1 || 0.13.0-rc2"},"devDependencies":{"webpack":"1.4.8"},"gitHead":"092bb1c3a7ac1a28206480fe068ad6b619642836","_id":"react-hot-api@0.4.0","_shasum":"0c50e56fa722145782996c4d24e264151f6a5a34","_from":".","_npmVersion":"2.6.0","_nodeVersion":"1.4.1","_npmUser":{"name":"gaearon","email":"dan.abramov@gmail.com"},"maintainers":[{"name":"gaearon","email":""}],"dist":{"shasum":"0c50e56fa722145782996c4d24e264151f6a5a34","size":7398,"noattachment":false,"key":"/react-hot-api/-/react-hot-api-0.4.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/react-hot-api/download/react-hot-api-0.4.0.tgz"},"directories":{},"publish_time":1425930693058,"_cnpm_publish_time":1425930693058,"_hasShrinkwrap":false},"0.3.7":{"name":"react-hot-api","version":"0.3.7","description":"A generic library implementing hot reload for React components without unmounting or losing their state.","main":"modules/index.js","scripts":{"build":"./scripts/build"},"repository":{"type":"git","url":"https://github.com/gaearon/react-hot-api.git"},"author":{"name":"Dan Abramov","email":"dan.abramov@me.com","url":"http://github.com/gaearon"},"license":"MIT","bugs":{"url":"https://github.com/gaearon/react-hot-api/issues"},"homepage":"https://github.com/gaearon/react-hot-api","peerDependencies":{"react":">=0.11.0 || 0.13.0-beta.1 || 0.13.0-rc1 || 0.13.0-rc2"},"devDependencies":{"webpack":"1.4.8"},"gitHead":"c11de6c89cf2e5908436580d1689c39adb1c7b2b","_id":"react-hot-api@0.3.7","_shasum":"ae6bc1700e1c2671a5ef8353172c5e6c74578721","_from":".","_npmVersion":"2.6.0","_nodeVersion":"1.4.1","_npmUser":{"name":"gaearon","email":"dan.abramov@gmail.com"},"maintainers":[{"name":"gaearon","email":""}],"dist":{"shasum":"ae6bc1700e1c2671a5ef8353172c5e6c74578721","size":7245,"noattachment":false,"key":"/react-hot-api/-/react-hot-api-0.3.7.tgz","tarball":"http://registry.cnpm.dingdandao.com/react-hot-api/download/react-hot-api-0.3.7.tgz"},"directories":{},"publish_time":1425501580795,"_cnpm_publish_time":1425501580795,"_hasShrinkwrap":false},"0.3.6":{"name":"react-hot-api","version":"0.3.6","description":"A generic library implementing hot reload for React components without unmounting or losing their state.","main":"modules/index.js","scripts":{"build":"./scripts/build"},"repository":{"type":"git","url":"https://github.com/gaearon/react-hot-api.git"},"author":{"name":"Dan Abramov","email":"dan.abramov@me.com","url":"http://github.com/gaearon"},"license":"MIT","bugs":{"url":"https://github.com/gaearon/react-hot-api/issues"},"homepage":"https://github.com/gaearon/react-hot-api","peerDependencies":{"react":">=0.11.0 || >=0.13.0-beta.1 || >=0.13.0-rc1"},"devDependencies":{"webpack":"1.4.8"},"gitHead":"a95cb33f74b5508248095cbd3e6815e4149d0f69","_id":"react-hot-api@0.3.6","_shasum":"31a283f3a5df7fa37ea75cc6dcb8a73ee1c765c8","_from":".","_npmVersion":"2.6.0","_nodeVersion":"1.4.1","_npmUser":{"name":"gaearon","email":"dan.abramov@gmail.com"},"maintainers":[{"name":"gaearon","email":""}],"dist":{"shasum":"31a283f3a5df7fa37ea75cc6dcb8a73ee1c765c8","size":7239,"noattachment":false,"key":"/react-hot-api/-/react-hot-api-0.3.6.tgz","tarball":"http://registry.cnpm.dingdandao.com/react-hot-api/download/react-hot-api-0.3.6.tgz"},"directories":{},"publish_time":1425317022908,"_cnpm_publish_time":1425317022908,"_hasShrinkwrap":false},"0.3.5":{"name":"react-hot-api","version":"0.3.5","description":"A generic library implementing hot reload for React components without unmounting or losing their state.","main":"modules/index.js","scripts":{"build":"./scripts/build"},"repository":{"type":"git","url":"https://github.com/gaearon/react-hot-api.git"},"author":{"name":"Dan Abramov","email":"dan.abramov@me.com","url":"http://github.com/gaearon"},"license":"MIT","bugs":{"url":"https://github.com/gaearon/react-hot-api/issues"},"homepage":"https://github.com/gaearon/react-hot-api","peerDependencies":{"react":">=0.11.0 || >=0.13.0-beta.1"},"devDependencies":{"webpack":"1.4.8"},"gitHead":"d6718493c2267b1a1df533283f37517bda2da8db","_id":"react-hot-api@0.3.5","_shasum":"39cdbdf33769ebedd6d6766784372ff76df4e102","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"gaearon","email":"dan.abramov@gmail.com"},"maintainers":[{"name":"gaearon","email":""}],"dist":{"shasum":"39cdbdf33769ebedd6d6766784372ff76df4e102","size":7145,"noattachment":false,"key":"/react-hot-api/-/react-hot-api-0.3.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/react-hot-api/download/react-hot-api-0.3.5.tgz"},"directories":{},"publish_time":1424915897236,"_cnpm_publish_time":1424915897236,"_hasShrinkwrap":false},"0.3.4":{"name":"react-hot-api","version":"0.3.4","description":"A generic library implementing hot reload for React components without unmounting or losing their state.","main":"modules/index.js","repository":{"type":"git","url":"https://github.com/gaearon/react-hot-api.git"},"author":{"name":"Dan Abramov","email":"dan.abramov@me.com","url":"http://github.com/gaearon"},"license":"MIT","bugs":{"url":"https://github.com/gaearon/react-hot-api/issues"},"homepage":"https://github.com/gaearon/react-hot-api","peerDependencies":{"react":">=0.11.0"},"devDependencies":{"webpack":"1.4.8"},"gitHead":"426307049adc2f5107b84737fd7b5117abd97dc2","_id":"react-hot-api@0.3.4","scripts":{},"_shasum":"6e875ea36c5c3524b000a29de752a22ee99bfbb8","_from":".","_npmVersion":"2.2.0","_nodeVersion":"0.11.13","_npmUser":{"name":"gaearon","email":"dan.abramov@gmail.com"},"maintainers":[{"name":"gaearon","email":""}],"dist":{"shasum":"6e875ea36c5c3524b000a29de752a22ee99bfbb8","size":6927,"noattachment":false,"key":"/react-hot-api/-/react-hot-api-0.3.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/react-hot-api/download/react-hot-api-0.3.4.tgz"},"directories":{},"publish_time":1422744172711,"_cnpm_publish_time":1422744172711,"_hasShrinkwrap":false},"0.3.3":{"name":"react-hot-api","version":"0.3.3","description":"A generic library implementing hot reload for React components without unmounting or losing their state.","main":"modules/index.js","repository":{"type":"git","url":"https://github.com/gaearon/react-hot-api.git"},"author":{"name":"Dan Abramov","email":"dan.abramov@me.com","url":"http://github.com/gaearon"},"license":"MIT","bugs":{"url":"https://github.com/gaearon/react-hot-api/issues"},"homepage":"https://github.com/gaearon/react-hot-api","peerDependencies":{"react":">=0.11.0"},"devDependencies":{"webpack":"1.4.8"},"gitHead":"bd6655f6c7ce0b5aae5661341846aab528e36703","_id":"react-hot-api@0.3.3","scripts":{},"_shasum":"bba99dfcc47cb1010ad4691339275461da90e5f5","_from":".","_npmVersion":"2.2.0","_nodeVersion":"0.11.13","_npmUser":{"name":"gaearon","email":"dan.abramov@gmail.com"},"maintainers":[{"name":"gaearon","email":""}],"dist":{"shasum":"bba99dfcc47cb1010ad4691339275461da90e5f5","size":6843,"noattachment":false,"key":"/react-hot-api/-/react-hot-api-0.3.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/react-hot-api/download/react-hot-api-0.3.3.tgz"},"directories":{},"publish_time":1422595495816,"_cnpm_publish_time":1422595495816,"_hasShrinkwrap":false},"0.3.2":{"name":"react-hot-api","version":"0.3.2","description":"A generic library implementing hot reload for React components without unmounting or losing their state.","main":"modules/index.js","repository":{"type":"git","url":"https://github.com/gaearon/react-hot-api.git"},"author":{"name":"Dan Abramov","email":"dan.abramov@me.com","url":"http://github.com/gaearon"},"license":"MIT","bugs":{"url":"https://github.com/gaearon/react-hot-api/issues"},"homepage":"https://github.com/gaearon/react-hot-api","peerDependencies":{"react":">=0.11.0"},"devDependencies":{"webpack":"1.4.8"},"gitHead":"7b97420062219af278f029d2ce7e356351b76912","_id":"react-hot-api@0.3.2","scripts":{},"_shasum":"2f53d1b72fef0ca9edfe2ebdde5acd2a2e18649a","_from":".","_npmVersion":"2.2.0","_nodeVersion":"0.11.13","_npmUser":{"name":"gaearon","email":"dan.abramov@gmail.com"},"maintainers":[{"name":"gaearon","email":""}],"dist":{"shasum":"2f53d1b72fef0ca9edfe2ebdde5acd2a2e18649a","size":6887,"noattachment":false,"key":"/react-hot-api/-/react-hot-api-0.3.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/react-hot-api/download/react-hot-api-0.3.2.tgz"},"directories":{},"publish_time":1422450478496,"_cnpm_publish_time":1422450478496,"_hasShrinkwrap":false},"0.3.1":{"name":"react-hot-api","version":"0.3.1","description":"A generic library implementing hot reload for React components without unmounting or losing their state.","main":"modules/index.js","repository":{"type":"git","url":"https://github.com/gaearon/react-hot-api.git"},"author":{"name":"Dan Abramov","email":"dan.abramov@me.com","url":"http://github.com/gaearon"},"license":"MIT","bugs":{"url":"https://github.com/gaearon/react-hot-api/issues"},"homepage":"https://github.com/gaearon/react-hot-api","peerDependencies":{"react":">=0.11.0"},"devDependencies":{"webpack":"1.4.8"},"gitHead":"b8cd883dca717cb8148356aa19d812eb553bcf6e","_id":"react-hot-api@0.3.1","scripts":{},"_shasum":"eded23b967e713d034f01f356c45bfbb7ccb00f1","_from":".","_npmVersion":"2.2.0","_nodeVersion":"0.11.13","_npmUser":{"name":"gaearon","email":"dan.abramov@gmail.com"},"maintainers":[{"name":"gaearon","email":""}],"dist":{"shasum":"eded23b967e713d034f01f356c45bfbb7ccb00f1","size":6686,"noattachment":false,"key":"/react-hot-api/-/react-hot-api-0.3.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/react-hot-api/download/react-hot-api-0.3.1.tgz"},"directories":{},"publish_time":1422448601152,"_cnpm_publish_time":1422448601152,"_hasShrinkwrap":false},"0.3.0":{"name":"react-hot-api","version":"0.3.0","description":"A generic library implementing hot reload for React components without unmounting or losing their state.","main":"modules/index.js","repository":{"type":"git","url":"https://github.com/gaearon/react-hot-api.git"},"author":{"name":"Dan Abramov","email":"dan.abramov@me.com","url":"http://github.com/gaearon"},"license":"MIT","bugs":{"url":"https://github.com/gaearon/react-hot-api/issues"},"homepage":"https://github.com/gaearon/react-hot-api","peerDependencies":{"react":">=0.11.0"},"devDependencies":{"webpack":"1.4.8"},"gitHead":"f7549995bc6558061ba8495d3a045b8aca590b92","_id":"react-hot-api@0.3.0","scripts":{},"_shasum":"7948ba06eb51b99cc05f8ff61f784434849f3091","_from":".","_npmVersion":"2.1.18","_nodeVersion":"0.11.14","_npmUser":{"name":"gaearon","email":"dan.abramov@gmail.com"},"maintainers":[{"name":"gaearon","email":""}],"dist":{"shasum":"7948ba06eb51b99cc05f8ff61f784434849f3091","size":6765,"noattachment":false,"key":"/react-hot-api/-/react-hot-api-0.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/react-hot-api/download/react-hot-api-0.3.0.tgz"},"directories":{},"publish_time":1421071304316,"_cnpm_publish_time":1421071304316,"_hasShrinkwrap":false},"0.2.2":{"name":"react-hot-api","version":"0.2.2","description":"A generic library implementing hot reload for React components without unmounting or losing their state.","main":"modules/index.js","repository":{"type":"git","url":"https://github.com/gaearon/react-hot-api.git"},"author":{"name":"Dan Abramov","email":"dan.abramov@me.com","url":"http://github.com/gaearon"},"license":"MIT","bugs":{"url":"https://github.com/gaearon/react-hot-api/issues"},"homepage":"https://github.com/gaearon/react-hot-api","peerDependencies":{"react":">=0.11.0"},"devDependencies":{"webpack":"1.4.8"},"gitHead":"5409c0219f8d0d9d4f9419bffc6b3b4f7e4f1c15","_id":"react-hot-api@0.2.2","scripts":{},"_shasum":"6ace505051fbdac8c07957be72330156fa223248","_from":"./","_npmVersion":"1.4.28","_npmUser":{"name":"gaearon","email":"dan.abramov@gmail.com"},"maintainers":[{"name":"gaearon","email":""}],"dist":{"shasum":"6ace505051fbdac8c07957be72330156fa223248","size":6795,"noattachment":false,"key":"/react-hot-api/-/react-hot-api-0.2.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/react-hot-api/download/react-hot-api-0.2.2.tgz"},"directories":{},"publish_time":1420043951691,"_cnpm_publish_time":1420043951691,"_hasShrinkwrap":false},"0.2.1":{"name":"react-hot-api","version":"0.2.1","description":"A generic library implementing hot reload for React components without unmounting or losing their state.","main":"modules/index.js","repository":{"type":"git","url":"https://github.com/gaearon/react-hot-api.git"},"author":{"name":"Dan Abramov","email":"dan.abramov@me.com","url":"http://github.com/gaearon"},"license":"MIT","bugs":{"url":"https://github.com/gaearon/react-hot-api/issues"},"homepage":"https://github.com/gaearon/react-hot-api","peerDependencies":{"react":">=0.11.0"},"devDependencies":{"webpack":"1.4.8"},"gitHead":"bd7f9d2c5d1d52ff3a04217c05649a7ef1311d2d","_id":"react-hot-api@0.2.1","scripts":{},"_shasum":"06ae76d5e9c970e8779e4e5b9180a1f402e14c48","_from":"./","_npmVersion":"1.4.28","_npmUser":{"name":"gaearon","email":"dan.abramov@gmail.com"},"maintainers":[{"name":"gaearon","email":""}],"dist":{"shasum":"06ae76d5e9c970e8779e4e5b9180a1f402e14c48","size":6740,"noattachment":false,"key":"/react-hot-api/-/react-hot-api-0.2.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/react-hot-api/download/react-hot-api-0.2.1.tgz"},"directories":{},"publish_time":1418991563602,"_cnpm_publish_time":1418991563602,"_hasShrinkwrap":false},"0.2.0":{"name":"react-hot-api","version":"0.2.0","description":"A generic library implementing hot reload for React components without unmounting or losing their state.","main":"modules/index.js","repository":{"type":"git","url":"https://github.com/gaearon/react-hot-api.git"},"author":{"name":"Dan Abramov","email":"dan.abramov@me.com","url":"http://github.com/gaearon"},"license":"MIT","bugs":{"url":"https://github.com/gaearon/react-hot-api/issues"},"homepage":"https://github.com/gaearon/react-hot-api","peerDependencies":{"react":">=0.11.0"},"devDependencies":{"webpack":"1.4.8"},"gitHead":"12ee771731480c7d39f1ad449fa22a32f52fb9e0","_id":"react-hot-api@0.2.0","scripts":{},"_shasum":"c530751972fd2fcd236c4a24c24b7b21b913a87e","_from":".","_npmVersion":"2.1.11","_nodeVersion":"0.10.33","_npmUser":{"name":"gaearon","email":"dan.abramov@gmail.com"},"maintainers":[{"name":"gaearon","email":""}],"dist":{"shasum":"c530751972fd2fcd236c4a24c24b7b21b913a87e","size":6679,"noattachment":false,"key":"/react-hot-api/-/react-hot-api-0.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/react-hot-api/download/react-hot-api-0.2.0.tgz"},"directories":{},"publish_time":1418964422027,"_cnpm_publish_time":1418964422027,"_hasShrinkwrap":false},"0.1.6":{"name":"react-hot-api","version":"0.1.6","description":"A generic library implementing hot reload for React components without unmounting or losing their state.","main":"modules/index.js","repository":{"type":"git","url":"https://github.com/gaearon/react-hot-api.git"},"author":{"name":"Dan Abramov","email":"dan.abramov@me.com","url":"http://github.com/gaearon"},"license":"MIT","bugs":{"url":"https://github.com/gaearon/react-hot-api/issues"},"homepage":"https://github.com/gaearon/react-hot-api","peerDependencies":{"react":">=0.11.0"},"gitHead":"8e445625f23cd4af091549dd53bb739fff035962","_id":"react-hot-api@0.1.6","scripts":{},"_shasum":"a368eb6491c78863685acd7ebb4dc40fd105d37e","_from":"./","_npmVersion":"1.5.0-alpha-4","_npmUser":{"name":"gaearon","email":"dan.abramov@gmail.com"},"maintainers":[{"name":"gaearon","email":""}],"dist":{"shasum":"a368eb6491c78863685acd7ebb4dc40fd105d37e","size":4933,"noattachment":false,"key":"/react-hot-api/-/react-hot-api-0.1.6.tgz","tarball":"http://registry.cnpm.dingdandao.com/react-hot-api/download/react-hot-api-0.1.6.tgz"},"directories":{},"publish_time":1418403764684,"_cnpm_publish_time":1418403764684,"_hasShrinkwrap":false},"0.1.5":{"name":"react-hot-api","version":"0.1.5","description":"A generic library implementing hot reload for React components without unmounting or losing their state.","main":"modules/index.js","repository":{"type":"git","url":"https://github.com/gaearon/react-hot-api.git"},"author":{"name":"Dan Abramov","email":"dan.abramov@me.com","url":"http://github.com/gaearon"},"license":"MIT","bugs":{"url":"https://github.com/gaearon/react-hot-api/issues"},"homepage":"https://github.com/gaearon/react-hot-api","peerDependencies":{"react":">=0.11.0"},"gitHead":"6b487534615d2f74a206e0f627dc76de94632b94","_id":"react-hot-api@0.1.5","scripts":{},"_shasum":"1b3f4abb78a3bb7e46003bcb5f8c4b4c55e76051","_from":"./","_npmVersion":"1.5.0-alpha-4","_npmUser":{"name":"gaearon","email":"dan.abramov@gmail.com"},"maintainers":[{"name":"gaearon","email":""}],"dist":{"shasum":"1b3f4abb78a3bb7e46003bcb5f8c4b4c55e76051","size":4936,"noattachment":false,"key":"/react-hot-api/-/react-hot-api-0.1.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/react-hot-api/download/react-hot-api-0.1.5.tgz"},"directories":{},"publish_time":1418403628054,"_cnpm_publish_time":1418403628054,"_hasShrinkwrap":false},"0.1.4":{"name":"react-hot-api","version":"0.1.4","description":"A generic library implementing hot reload for React components without unmounting or losing their state.","main":"modules/index.js","repository":{"type":"git","url":"https://github.com/gaearon/react-hot-api.git"},"author":{"name":"Dan Abramov","email":"dan.abramov@me.com","url":"http://github.com/gaearon"},"license":"MIT","bugs":{"url":"https://github.com/gaearon/react-hot-api/issues"},"homepage":"https://github.com/gaearon/react-hot-api","peerDependencies":{"react":">=0.11.0"},"gitHead":"400e09eac4556c376ac7004a986f2312e0d56fcc","_id":"react-hot-api@0.1.4","scripts":{},"_shasum":"aa9072c07eb400d9d84eb1ce3fa45e4fb69ff981","_from":"./","_npmVersion":"1.5.0-alpha-4","_npmUser":{"name":"gaearon","email":"dan.abramov@gmail.com"},"maintainers":[{"name":"gaearon","email":""}],"dist":{"shasum":"aa9072c07eb400d9d84eb1ce3fa45e4fb69ff981","size":4888,"noattachment":false,"key":"/react-hot-api/-/react-hot-api-0.1.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/react-hot-api/download/react-hot-api-0.1.4.tgz"},"directories":{},"publish_time":1418401705014,"_cnpm_publish_time":1418401705014,"_hasShrinkwrap":false},"0.1.3":{"name":"react-hot-api","version":"0.1.3","description":"A generic library implementing hot reload for React components without unmounting or losing their state.","main":"modules/index.js","repository":{"type":"git","url":"https://github.com/gaearon/react-hot-api.git"},"author":{"name":"Dan Abramov","email":"dan.abramov@me.com","url":"http://github.com/gaearon"},"license":"MIT","bugs":{"url":"https://github.com/gaearon/react-hot-api/issues"},"homepage":"https://github.com/gaearon/react-hot-api","peerDependencies":{"react":">=0.11.0"},"gitHead":"8a3567a6ce85c9a0ae09efa1647cac4d33aa0a0e","_id":"react-hot-api@0.1.3","scripts":{},"_shasum":"dcc635a2f37420ef7a8a68c4087458e3d1cb038e","_from":"./","_npmVersion":"1.5.0-alpha-4","_npmUser":{"name":"gaearon","email":"dan.abramov@gmail.com"},"maintainers":[{"name":"gaearon","email":""}],"dist":{"shasum":"dcc635a2f37420ef7a8a68c4087458e3d1cb038e","size":4343,"noattachment":false,"key":"/react-hot-api/-/react-hot-api-0.1.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/react-hot-api/download/react-hot-api-0.1.3.tgz"},"directories":{},"publish_time":1418364578991,"_cnpm_publish_time":1418364578991,"_hasShrinkwrap":false},"0.1.2":{"name":"react-hot-api","version":"0.1.2","description":"A generic library implementing hot reload for React components without unmounting or losing their state.","main":"modules/index.js","repository":{"type":"git","url":"https://github.com/gaearon/react-hot-api.git"},"author":{"name":"Dan Abramov","email":"dan.abramov@me.com","url":"http://github.com/gaearon"},"license":"MIT","bugs":{"url":"https://github.com/gaearon/react-hot-api/issues"},"homepage":"https://github.com/gaearon/react-hot-api","peerDependencies":{"react":">=0.11.0"},"gitHead":"0599bea578ce5d0d2eece0f3651e822298743549","_id":"react-hot-api@0.1.2","scripts":{},"_shasum":"8b7552d78289f5c1ff0b566be7047cc3f72c7fab","_from":"./","_npmVersion":"1.5.0-alpha-4","_npmUser":{"name":"gaearon","email":"dan.abramov@gmail.com"},"maintainers":[{"name":"gaearon","email":""}],"dist":{"shasum":"8b7552d78289f5c1ff0b566be7047cc3f72c7fab","size":4336,"noattachment":false,"key":"/react-hot-api/-/react-hot-api-0.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/react-hot-api/download/react-hot-api-0.1.2.tgz"},"directories":{},"publish_time":1418363903893,"_cnpm_publish_time":1418363903893,"_hasShrinkwrap":false},"0.1.1":{"name":"react-hot-api","version":"0.1.1","description":"A generic library implementing hot reload for React components without unmounting or losing their state.","main":"modules/index.js","repository":{"type":"git","url":"https://github.com/gaearon/react-hot-api.git"},"author":{"name":"Dan Abramov","email":"dan.abramov@me.com","url":"http://github.com/gaearon"},"license":"MIT","bugs":{"url":"https://github.com/gaearon/react-hot-api/issues"},"homepage":"https://github.com/gaearon/react-hot-api","peerDependencies":{"react":">=0.11.0"},"gitHead":"8f7735b6bf337d3cf5dc8fb46b84c2eb7d038abb","_id":"react-hot-api@0.1.1","scripts":{},"_shasum":"13bb554140d80961ba3d6ba848be1c2c427c9bee","_from":"./","_npmVersion":"1.5.0-alpha-4","_npmUser":{"name":"gaearon","email":"dan.abramov@gmail.com"},"maintainers":[{"name":"gaearon","email":""}],"dist":{"shasum":"13bb554140d80961ba3d6ba848be1c2c427c9bee","size":4300,"noattachment":false,"key":"/react-hot-api/-/react-hot-api-0.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/react-hot-api/download/react-hot-api-0.1.1.tgz"},"directories":{},"publish_time":1418360644459,"_cnpm_publish_time":1418360644459,"_hasShrinkwrap":false},"0.1.0":{"name":"react-hot-api","version":"0.1.0","description":"A generic library implementing hot reload for React components without unmounting or losing their state.","main":"modules/index.js","repository":{"type":"git","url":"https://github.com/gaearon/react-hot-api.git"},"author":{"name":"Dan Abramov","email":"dan.abramov@me.com","url":"http://github.com/gaearon"},"license":"MIT","bugs":{"url":"https://github.com/gaearon/react-hot-api/issues"},"homepage":"https://github.com/gaearon/react-hot-api","peerDependencies":{"react":">=0.11.0"},"gitHead":"939c0e01a1f66b181e18c16fbc17a4d192ef255b","_id":"react-hot-api@0.1.0","scripts":{},"_shasum":"63d5b34b66e57aa193b158efc54a81644160673f","_from":"./","_npmVersion":"1.5.0-alpha-4","_npmUser":{"name":"gaearon","email":"dan.abramov@gmail.com"},"maintainers":[{"name":"gaearon","email":""}],"dist":{"shasum":"63d5b34b66e57aa193b158efc54a81644160673f","size":4296,"noattachment":false,"key":"/react-hot-api/-/react-hot-api-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/react-hot-api/download/react-hot-api-0.1.0.tgz"},"directories":{},"publish_time":1418360519407,"_cnpm_publish_time":1418360519407,"_hasShrinkwrap":false}},"readme":"React Hot API\n=========\n\nThis is a generic library implementing hot reload for React components without unmounting or losing their state.  \n\n**It is intended for build tool authors or adventurous folk and *not* for website development. For a reference implementation *that you can actually use*, check out [react-hot-loader](https://github.com/gaearon/react-hot-loader) for Webpack.**\n\nThis library drives React hot-reload magic of **[react-hot-loader](https://github.com/gaearon/react-hot-loader)** but is not tied to Webpack itself, so alternative build systems that support hot-reloading individual modules can use it to implement **[live-editing for React components](http://gaearon.github.io/react-hot-loader/)**. For example, you can use this to **[integrate hot reloading into an atom-shell application](https://github.com/BenoitZugmeyer/chwitt-react/blob/2d62184986c7c183955dcb607dba5ceda70a2221/bootstrap-jsx.js#L33)**. \n\n**[See the video.](https://vimeo.com/100010922)**\n\n### API\n\n#### `makeHot: (ReactClass, persistentId?) => ReactClass`\n\nRegisters a hot-reloadable React class. If you don't pass `persistentId`, it is inferred from `ReactClass.displayName` or `ReactClass.name` (for ES6 classes). When called for the first time, it will merely return the passed class. When called the next time with the same `persistentId`, will patch original class with the prototype of the new class, and return the original class.\n\n#### `require('react-hot-api'): (getRootInstances, React) => makeHot`\n\nInvoke this once within each hot-reloadable module to obtain the function described above.  \nYou must pass the result between *all emitted versions of the same module* for hot reload to work.\n\n`getRootInstances` is a method you as a caller should provide. It should return all root components on the page.\nYou can implement it by returning `require('react/lib/ReactMount')._instancesByReactRootID` but you may also want to return some known root instance, for example, if you host React Hot API on a webpage for a live editor playground.\n\n### Usage\n\nThis library is not meant to be used directly, unless you're authoring a build tool like [React Hot Loader](https://github.com/gaearon/react-hot-loader).\n\nIt only makes sense if your build tool of choice is capable of two things:\n\n* emitting next versions of the same module and evaluate them;\n* passing arbitrary JS objects from previous to the next version of the same module.\n\nI am only aware of [Webpack Hot Module Replacement](http://webpack.github.io/docs/hot-module-replacement.html) but eventually other implementations should arise.\n\nIn which case, here's how you can tranform the source to use it:\n\n##### SomeComponent.js, first run\n\n```javascript\nvar React = require('react');\n\nvar SomeComponent = React.createClass({\n  render: function () {\n    return <p>Version 1</p>;\n  }\n});\n\nmodule.exports = SomeComponent;\n\n\n\n// ================================================\n// The code you might generate with your build tool\n// to hide hot reloading mechanics from user:\n\nvar makeHot = SOME_STORAGE_SHARED_BETWEEN_VERSIONS_OF_SAME_MODULE.makeHot;\nif (!makeHot) {\n  // On the first run, we will get here\n  makeHot = SOME_STORAGE_SHARED_BETWEEN_VERSIONS_OF_SAME_MODULE.makeHot = require('react-hot-api')(require('react/lib/ReactMount'));\n}\n\n// Will merely register SomeComponent so it can later be patched\nmodule.exports = makeHot(module.exports);\n```\n\n##### SomeComponent.js, subsequent runs (emitted after user edits the source)\n```javascript\nvar React = require('react');\n\nvar SomeComponent = React.createClass({\n  render: function () {\n    return <p>Version 2</p>;\n  }\n});\n\nmodule.exports = SomeComponent;\n\n\n\n// ================================================\n// The code you might generate with your build tool\n// to hide hot reloading mechanics from user:\n\nvar makeHot = SOME_STORAGE_SHARED_BETWEEN_VERSIONS_OF_SAME_MODULE.makeHot;\nif (!makeHot) {\n  // On the second run, we will *NOT* get here\n  makeHot = SOME_STORAGE_SHARED_BETWEEN_VERSIONS_OF_SAME_MODULE.makeHot = require('react-hot-api')(require('react/lib/ReactMount'));\n}\n\n// Will patch existing SomeComponent with updated methods, force re-rendering and return patched first version\nmodule.exports = makeHot(module.exports);\n```\n\nYou may also give user some way to access `makeHot` in case they want to allow hot-reloading for arbitrary classes inside the module:\n\n##### AnonComponents.js\n```javascript\n// The user still doesn't need to know these lines are being inserted by the tool:\nmodule.makeHot = SOME_STORAGE_SHARED_BETWEEN_VERSIONS_OF_SAME_MODULE.makeHot;\nif (!module.makeHot) {\n  // put the function into some sane place (e.g. module.makeHot) without relying on hidden variables\n  module.makeHot = SOME_STORAGE_SHARED_BETWEEN_VERSIONS_OF_SAME_MODULE.makeHot = require('react-hot-api')(require('react/lib/ReactMount'));\n}\n// You might generate the code above with your build tool\n// to hide hot reloading mechanics from user.\n// ================================================\n\n\n\nvar React = require('react');\n\nfunction createLabelComponent(str) {\n  var cls = React.createClass({\n    render: function () {\n      return <span>{str}</span>;\n    }\n  });\n  \n  // ... but you may give user freedom to do this:\n  if (module.makeHot) { // we're in development and makeHot is available\n    cls = module.makeHot(cls, str); // use parameter as unique ID for anon class\n  }\n  \n  return cls;\n}\n\n// These will be hot-reloadable:\nvar Foo = createLabelComponent('Foo');\nvar Bar = createLabelComponent('Bar');\n```\n\n### Thanks\n\n* [Tobias Koppers](https://github.com/sokra) for Webpack and HMR;\n* [Johannes Lumpe](https://github.com/johanneslumpe) and [Ben Alpert](https://github.com/spicyj) for helping me come up with the original hot reloading approach I'm still using here;\n* [Omar Skalli](https://github.com/Chetane) for coming up with an approach for forcing tree update that is compatible with ES6 classes [just the moment I needed it most](https://twitter.com/dan_abramov/status/543174410493239297);\n* [Kyle Mathews](http://github.com/KyleAMathews) for being the first person to actually use hot loader and helping spread the word when it was in initial stages;\n* [Christopher Chedeau](https://github.com/vjeux) for retweeting my horrendously hacked together proof of concept video, overwhelming response from which gave me the incentive to actually finish this thing;\n* Bret Victor for making me think live editing should be the norm, although he probably hates what people do after watching his videos.\n","_attachments":{},"homepage":"https://github.com/gaearon/react-hot-api","bugs":{"url":"https://github.com/gaearon/react-hot-api/issues"},"license":"MIT"}