世界上最伟大的投资就是投资自己的教育
全场限时 5 折
所有回复
2018-12-14
2018-12-13
2018-12-12
-
对 hujianxin · 凡人 回复
你这个 terminal 插件没作用呀,直接'ctrl + `' 这个快捷键就可以在本目录打开 vscode 内置 terminal。
是的!
10:45
2018-12-10
-
对 JokerLHF · 金丹 回复
请问一下为什么我安装 query-string 之后 npm start 的时候显示 Cannot find module 'address'
还有 redux-actions 这个库也是一样?应该是没安装成功 看下有没有报错啥的
19:07 -
请问一下为什么我安装 query-string 之后 npm start 的时候显示 Cannot find module 'address'
还有 redux-actions 这个库也是一样?16:33 -
对 960269915 · 凡人 回复
专门注册账号来感谢老师的教学视频。但是老师有个错误,node 会请求 favicon.ico 这个图标,所有路由会执行 2 次,导致第二次为 undefined。需要加个判断
if (req.url != '/favicon.ico') {
route(handle, req.url, res);
}
不足之处请老师多多指教好的,多谢
12:25 -
专门注册账号来感谢老师的教学视频。但是老师有个错误,node 会请求 favicon.ico 这个图标,所有路由会执行 2 次,导致第二次为 undefined。需要加个判断
if (req.url != '/favicon.ico') {
route(handle, req.url, res);
}
不足之处请老师多多指教11:59 -
对 itMyron · 真仙 回复
老大,下一个技术点更新什么?期待
先把差不多完结的先完结,可能就是 typescript 吧
09:52
2018-12-07
-
对 随风 · 练气 回复
这个就不支持了啦
那好吧,那我可以问你一个问题嘛。
在开发中当监听多个 saga 的时候是用 takeLatest 还是 takeEvery 呢16:25 -
对 随风 · 练气 回复
你那样其实也可以吧?只是写成 map 不会修改原来的 state 的内容,以后在学习 redux 课程的时候,是不修改 state 内容的,所以这里先这样写
哦,懂了懂了,谢谢
15:41 -
对 zhangyanling77 · 凡人 回复
有没有可能单独卖一个视频呢
这个就不支持了啦
14:49 -
对 随风 · 练气 回复
不存在的,谢谢支持哈
但是我只想看看第九个视频,想知道 takeLatest 和 takeEvery 的区别。
14:30 -
对 zhangyanling77 · 凡人 回复
后面的几个视频有没有机会免费看呢?
不存在的,谢谢支持哈
14:25 -
对 yang_ye · 凡人 回复
视频里的
updateRecord(record, data) {
const recordIndex = this.state.records.indexOf(record);
const newRecords = this.state.records.map( (item, index) => {
if(index !== recordIndex) {
// This isn't the item we care about - keep it as-is
return item;
}// Otherwise, this is the one we want - return an updated value return { ...item, ...data }; }); this.setState({ records: newRecords });
}
自己写的
updateRecord(data, i) {
let records = [...this.state.records];
records[i] = {...record[i],...data};
this.setState({
records: records
})
}老大,视频里写的和我这样写的比,有什么好处吗,为什么要用 map 方法啊
你那样其实也可以吧?只是写成 map 不会修改原来的 state 的内容,以后在学习 redux 课程的时候,是不修改 state 内容的,所以这里先这样写
14:16 -
视频里的
updateRecord(record, data) {
const recordIndex = this.state.records.indexOf(record);
const newRecords = this.state.records.map( (item, index) => {
if(index !== recordIndex) {
// This isn't the item we care about - keep it as-is
return item;
}// Otherwise, this is the one we want - return an updated value return { ...item, ...data }; }); this.setState({ records: newRecords });
}
自己写的
updateRecord(data, i) {
let records = [...this.state.records];
records[i] = {...record[i],...data};
this.setState({
records: records
})
}老大,视频里写的和我这样写的比,有什么好处吗,为什么要用 map 方法啊
13:40 -
对 XiaoZhaoxiaaa · 金丹 回复
导入的时候,为什么有些加 {},有些不加呢
这和导出方式有关,如果是单独 export 的导入就需要加{},如果是 export default 就不需要加{}
11:01
2018-12-03
2018-12-02
2018-11-28
-
对 medeen · 凡人 回复
最后的关联很不错,已 star
谢谢哈
16:27
© 汕尾市求知科技有限公司 | Rails365 Gitlab | Qiuzhi99 Gitlab | 知乎 | b 站 | 搜索
粤公网安备 44152102000088号 | 粤ICP备19038915号
Top