Bowen

Results 57 comments of Bowen

> ``` js >// x , y是要交换元素的位置(index+1) >function arrIndexExchange(array, x, y){ > array.splice(x - 1, 1, ...array.splice(y - 1, 1, array[x - 1])); > return array; >}; > ``` 复杂度爆炸

https://codepen.io/anon/pen/EqXEOj?editors=0011

感谢 @DMQ @liyanlong ,我翻了个TypeScript版本,写的比较菜🌝 [buejs](https://github.com/bowencool/bue)

我自己翻版了一个,支持观察数组,希望能帮到你 https://github.com/bowencool/bue

I suggest you to extract HMR runtime codes into [virtual module](https://vitejs.dev/guide/api-plugin.html#virtual-modules-convention), you can refer to these codes: https://vscode.dev/github/Jervis2049/vite-plugin-crx-hot-reload https://vscode.dev/github/yeqisong/vite-plugin-vue-crx3

![image](https://user-images.githubusercontent.com/20217146/47831754-e7fd3c80-ddcc-11e8-8f2f-e0ec304d24da.png) I changed my idea, I think colons should performs the same as brackets.

怎么定义成熟,star数?知名度?我能做的都已经做了,demo 全功能演示,文档、更新日志写的都很清晰,单测覆盖率也满了。你要说功能不足或者作用不大,我还能接受,这个需要慢慢迭代。你要说因为用的人不多,所以不成熟,我就觉得有点“何不食肉糜”的意思了。 2022年9月19日 +0800 13:42 afc163 ***@***.***>,写道: 抱歉,demo 代码暂时不

> > 你要说功能不足或者作用不大 > > 我反而相信你这个库的功能和作用都能满足这个场景的需求。但是 antd demo 会被业务的开发者拷贝代码做二次开发,我们希望尽可能清晰和减少黑盒,这样业务代码遇到问题也可以自行排查和解决。如果有外部依赖也希望是社区广泛流行的库,或者是官方自行维护的库。 了解了