VoliJS / NestedReact

BackboneJS compatibility layer for React-MVx MVVM framework.
https://volicon.github.io/React-MVx
79 stars 5 forks source link

@define: state and Model specs #7

Closed gaperton closed 8 years ago

gaperton commented 8 years ago

NestedTypes state spec

@define({
    state : {
        count : Number
    },

    Model : BaseClass
})
class MyComponent extends Component{
    render(){

    }
}
gaperton commented 8 years ago

implemented in develop. No ES6 support yet.