ryanwang

Results 36 comments of ryanwang

> https://zhuanlan.zhihu.com/p/475785123 这位博主总结的很好 当他说`Recoil`难用的时候,这篇文章就已经被 `Pass`了

I don't think it's necessarily a `bug` because `ts` doesn't automatically compile to match complex types without explicitly telling `ts` exactly what the `items` are . The code above is...

Can I propose a PR to fix this @prabhuignoto , roughly the following changes: ```css *, :after, :before { box-sizing: border-box; } ``` I think it's necessary to turn on...

不用了不用了,是由于国内访问github有延时,10分钟之后生效了~~~

--- title: axios的二次封装 date: 2018-11-04 03:30:19 tags: - axios - ajax - Promise --- 注意是这种格式!

> 有空的话麻烦帮忙看一下 谢谢了 看我的comment

> @pauloreis7 Thank you for opening the discussion. I agree that the code base should be modernized and optimized. Is this something you would want to contribute to? I'd love...

> Sure TS and hooks are a good foundation. Just ensure all existing tests pass as you refactor. ok, probably today i'll get start.

```ts enum Methods { 'GET', 'POST' } declare function handleRequest(url: string, method: keyof typeof Methods): void; type ReqShape = { url: string; method: keyof typeof Methods; } const req: ReqShape...