Wei

Results 290 comments of Wei

Ready to be reviewed again. --- I kind of want to add preview deploy for examples before this PR. But multiple sites deploy Netlify ([doc](https://docs.netlify.com/configure-builds/monorepos/#base-directory)) require setting permission to add...

> would it make sense to add a max depth in this pr? max depth is supported in this PR. Using like this - `[2, 4]`

可以提供一下路由那块的代码吗,或者可以先参考下: ```js function App() { return ( // 占位 { console.log("[on hide]"); console.log(routeState); }} onReappear={routeState => { console.log("[on reappear]"); console.log(routeState); }} /> ); } ``` 如何配合 Switch 使用

I did not used better-scroll before but it sounds like an uncovered "position". I'll try to fix this.

@AjaxSolutions Thanks for replying. I checked Dan's three suggestions provided. I guess the > Option 1 (Preferred): Split contexts that don't change together is corresponding to the method I mentioned?...

``` 匿名函数Context = { AO: { arguments: { 0: 1, length: 1 }, i: 0 } } ``` 里面的`arguments`的`0:1`为什么是1呢,按我的理解应该和`i`的值相同,所以不是`0: 0`吗

在更易懂的写法里`return curry.call(this, fn, _args);`,为什么要用`this`呢,感觉用`null`是不是也可以呢

```javascript function addEvent (type, el, fn) { if (window.addEventListener) { addEvent = function (type, el, fn) { el.addEventListener(type, fn, false); } } else if(window.attachEvent){ addEvent = function (type, el, fn)...

MessageChannel 是属于 microTask 啊

另外 ```js new Promise(resolve => { resolve(1); Promise.resolve().then(() => console.log(2)); console.log(4) }).then(t => console.log(t)); console.log(3); ``` 之所以 2 比 1 要早,是因为 `then(() => console.log(2));` 的执行在 `.then(t => console.log(t)); console.log(3);` 之前,所以在...