-
When I try to extend module B from module A, I get state of A
```
@Module
class Collection extends VuexModule {
url = "/collection";
items = [];
}
@Module({ namespaced: true, name…
-
Lately there has been alot of buzz regarding Vue.js. Some claim it's even a React killer so I thought it'd be nice to have both sides of the story with regard to SSR and creating universal apps and I …
-
刚看了一下仓库的整体代码以及线上demo,整体来说还是相当不错的,这不是一个小项目,确实付出了比较多的时间。
.jsx里面的三目运算符使用的还不甚合理,记得优化一下,其它的结构几乎与vue版本无异,几乎也实现了全部功能,可见作者着实用心,让人感佩。
当然react的新特性hooks我还未看到,作者可以适当使用一下,毕竟新特性的噱头,很多人都愿意买单的,无论是为了作者自己的推广,还是学习规划。
…
-
Is there some example available around these things:
- no typescript, but vanilla javascript?
- no webpack (or other JS bundler)?
- how to bundle an external node.js module (e.g. fs-extras) into …
-
记录前端实用性的开源库
- 业务方向
- 换肤
- [link rel=alternate网站换肤功能最佳实现](https://www.zhangxinxu.com/wordpress/2019/02/link-rel-alternate-website-skin/)
- [web黑暗模式(皮肤功能)的实现](http://www.victorwu90.co…
-
- [ ] I have searched the [issues](https://github.com/alibaba/formily/issues) of this repository and believe that this is not a duplicate.
### Reproduction link
[![Edit on CodeSandbox](https://cod…
-
This is more of an open discussion than a suggestion since I realize the magnitude of such a change. I'll try to keep this short, we'll see how it goes.
React operates fundamentally on a Virtual DO…
-
### 何如部署一个express项目,并通过域名或公网IP访问
#### 1、clone一个express项目,进入项目并安装依赖
````
git clone https://github.com/weblixin/learn_serve.git
cd learn_serve
npm i
````
#### 2、在服务器后台配置安全组,加入需要的端口号
key |…
-
使用 vue/reactivity 或者 mobx 将状态响应式,向外暴露出 state 和 trigger,外层再进行响应式更新(组件层级不复杂的话就不需要引入 store,组件层级比较复杂的话就将 state 放进 store 持久化)。
``` typescript
// 小程序下载文件业务逻辑
const downloadAble = (): DownloadAbility =>…
-
Hello !
I discovered Cells and Qooxlisp after your question on Ceramic (Qooxlisp wasn't even mentioned on Cliki :( ) and my mind is blown, what if Qooxlisp was indeed the last web framework I ~~wil…