Name: vanex
Owner: Alibaba
Description: Frontend development library based on mobx.
Created: 2017-08-22 06:14:16.0
Updated: 2018-05-12 11:04:49.0
Pushed: 2018-01-10 08:38:01.0
Homepage: https://alibaba.github.io/vanex/
Size: 890
Language: JavaScript
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
Vanex ??? mobx ? React ???????????? mobx ??????????????????? React ???
https://alibaba.github.io/vanex/
Vanex ??????? API?@vanex ? start
rt React from 'react';
rt { vanex, start } from 'vanex';
t Model = {};
ex('Model')
s Comp extends React.Component{
t({
component: Comp,
container: '#root',
models: {
Model,
}
See more: https://alibaba.github.io/vanex/quick-start.html
Object.defineProperties()
(????????)?????????????model?data???????????????????????????UI?????????????React??UI?API?????UI???this.foreceUpdate()
?autorun
???effects??????????????