Bryan

Results 17 comments of Bryan

对于讲 React-redux 之前的那个 To-do List 项目,因为已经封装好了 creator,因此其实可以在使用 mapDispatchToProps 时可以利用 [bindActionCreators](https://react-redux.js.org/using-react-redux/connect-mapdispatch#defining-the-mapdispatchtoprops-function-with-bindactioncreators) 甚至 [Defining mapDispatchToProps As An Object](https://react-redux.js.org/using-react-redux/connect-mapdispatch#defining-mapdispatchtoprops-as-an-object) 来很方便的实现 mapDispatchToProps。建议补充讲解一下这个知识点,很常用

「所有课程 5 折:既然你已经在平时帮助过胖哥,那我每年一套的收费课程,你可以享受 5 折,轻松就可以剩下 300 多元钱。」是不是不太合适。。我觉得会有人专门为了五折而买…… 如果是「感恩」,或许可以设定为加入后新出的课才能享受五折或加入后多久才能享受?

@asd8855 > > "需要注意的是,在TypeScript中指定数据类型的数组只能存储同一类型的数组元素。" > 胖哥这句有问题吧?数组元素的类型可以是any啊?any就不会报错 > > > let arr1: any[] = [1, 2, true]; 这句话没错,Any 数组只能存储 Any 类型的数据,只是任何数据都属于 Any 类型而已。就和数组里面也可以存 Object、Union 一样

In fact, I just can't find a way to use crypto method as easy as just using WebCrypto . I found https://github.com/RustCrypto/block-ciphers , but because of the Warning section in...

@zebp For the name, I think now (in the dashboard) the previous `Worker Script` is now totally renamed to `Service`, So I think a `Service Binding` implies the `Remote Service...

For test, I think we must use [wrangler2](https://github.com/cloudflare/wrangler2), and it seems that the `wrangler.toml` should be changed too, maybe like this (remove `type` and change `build.upload` to `main`): ``` name...

> I know this is an old ticket. But after extensive google search I found multiple questions about this topic but I couldn't find any answer to this. I am...

For a workaround, just run `pnpm install -g node-gyp` before install better-sqlite3.

For anyone who may concern, you can also append the `family=6` option to the redis URL (if you can't add `family:6`). For example, it should change`redis://domain:6379` to `redis://domain:6379/?family=6`.