-
感谢作者的贡献!
在我们的项目中已经完全使用mobx代替了vuex,并使用了movue,使用过程中发现了不少问题。
首先我想知道我在Mobx中定义的集合,数组该如何在Vue中得到相应呢。
```
class RenderImgData {
@observable renderList = [];
}
```
```
fromMobx:{
wat…
yee94 updated
6 years ago
-
Ok. Can someone explain to me what the difficulty is with the membrane pattern and private fields, because I'm not sure that I understand the problem at all. For me, it seems fairly obvious that the c…
-
Let's use this thread to discuss actual design considerations for an actual hooks API.
Prior references:
- [#1063: Provide React Hooks](https://github.com/reduxjs/react-redux/issues/1063)
- […
-
### What problem does this feature solve?
Its possible to simply use an unmounted Vue instance as a reactive store, however it inherits the view related functionality. Why not make a way to create a …
-
if props is not in state, and props is identification marks for certain methods,
```
componentWillReceiveProps(nextProps) {
if (nextProps.flag !== this.props.flag && nextProps.flag) {
th…
-
## 文档及学习资料
- ***React***
- [React 技术栈系列教程](http://www.ruanyifeng.com/blog/2016/09/react-technology-stack.html)
- [React 中文文档](https://doc.react-china.org/docs/hello-world.html)
- [Redux 中文…
-
I have the React type definition file (that is declared using an external module). In my source files, I usually do:
``` typescript
import * as R from "react"
```
and can then happily use `R.createE…
-
I have a case where I pass component definition directly to vue meta component.
``
wrapping it with observer breaks a whole thing.
Do you have any idea what to do here?
xrado updated
6 years ago
-
The select plugin, while useful, is clunky. Both Mobx and Vue treat computed props as first class citizens. Unless I'm misunderstanding something, these are the steps necessary to use selectors for ev…
mgutz updated
6 years ago
-
Following the articles by @Igmat & @hax, and taking into account the complaints of a lack of "fairness" by @slikts, I've written [a new article on Medium.com](https://medium.com/@kingmph/the-new-featu…