{"action":"created","issue":{"url":"https://api.github.com/repos/vikingmute/webpack-react-codes/issues/12","repository_url":"https://api.github.com/repos/vikingmute/webpack-react-codes","labels_url":"https://api.github.com/repos/vikingmute/webpack-react-codes/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/vikingmute/webpack-react-codes/issues/12/comments","events_url":"https://api.github.com/repos/vikingmute/webpack-react-codes/issues/12/events","html_url":"https://github.com/vikingmute/webpack-react-codes/issues/12","id":195974627,"number":12,"title":"关于书中三处疑问","user":{"login":"BrainYang","id":4661736,"avatar_url":"https://avatars.githubusercontent.com/u/4661736?v=3","gravatar_id":"","url":"https://api.github.com/users/BrainYang","html_url":"https://github.com/BrainYang","followers_url":"https://api.github.com/users/BrainYang/followers","following_url":"https://api.github.com/users/BrainYang/following{/other_user}","gists_url":"https://api.github.com/users/BrainYang/gists{/gist_id}","starred_url":"https://api.github.com/users/BrainYang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BrainYang/subscriptions","organizations_url":"https://api.github.com/users/BrainYang/orgs","repos_url":"https://api.github.com/users/BrainYang/repos","events_url":"https://api.github.com/users/BrainYang/events{/privacy}","received_events_url":"https://api.github.com/users/BrainYang/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-12-16T03:42:56Z","updated_at":"2016-12-16T04:42:02Z","closed_at":null,"body":"1、\tp74，如果不用源码，按照书上步骤，好像得不到书上截图效果。'containter' 是哪来的？\r\n\r\n2、\tp84，最好注明一下，在`Profile.jsx`的`constructor`函数中，需要加上\r\n\t`this.addHobbyCallback = this.addHobbyCallback.bind(this);`\r\n    不然，在`Chrome`的控制台中会出现错误，指向`addHobbyCallback`函数 :\r\n    `Uncaught TypeError: Cannot read property 'refs' of null.`\r\n    这个错误提示让人迷惑，看上去refs有关系，跟函数没有关系。\r\n\r\n3、\tchapter4\\part1 的 app.jsx 文件中有这么一行：\r\n\t`import 'bootstrap/scss/bootstrap.scss;`\r\n    我下载的[bootstrap v4.0.0-alpha.5](http://getbootstrap.com/2.3.2/assets/bootstrap.zip)中并没有这样的文件。\r\n    随书源码用的是`bootstrap v4.0.0-alpha.2`，不知是不是bootstrap版本问题？"},"comment":{"url":"https://api.github.com/repos/vikingmute/webpack-react-codes/issues/comments/267515731","html_url":"https://github.com/vikingmute/webpack-react-codes/issues/12#issuecomment-267515731","issue_url":"https://api.github.com/repos/vikingmute/webpack-react-codes/issues/12","id":267515731,"user":{"login":"nighca","id":1492263,"avatar_url":"https://avatars.githubusercontent.com/u/1492263?v=3","gravatar_id":"","url":"https://api.github.com/users/nighca","html_url":"https://github.com/nighca","followers_url":"https://api.github.com/users/nighca/followers","following_url":"https://api.github.com/users/nighca/following{/other_user}","gists_url":"https://api.github.com/users/nighca/gists{/gist_id}","starred_url":"https://api.github.com/users/nighca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nighca/subscriptions","organizations_url":"https://api.github.com/users/nighca/orgs","repos_url":"https://api.github.com/users/nighca/repos","events_url":"https://api.github.com/users/nighca/events{/privacy}","received_events_url":"https://api.github.com/users/nighca/received_events","type":"User","site_admin":false},"created_at":"2016-12-16T04:42:02Z","updated_at":"2016-12-16T04:42:02Z","body":"@BrainYang 我去 check 了下，v4.0.0-alpha.5 中也是应该有这个文件的：https://github.com/twbs/bootstrap/blob/v4.0.0-alpha.5/scss/bootstrap.scss\r\n\r\n看起来你是手动下载的 bootstrap 的结果文件？建议使用 npm 进行依赖的安装然后再试下。"}}
{"actor":{"display_login":"nighca"}}