Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/gabemeola/aktie

Module State Management
https://github.com/gabemeola/aktie

Last synced: about 6 hours ago
JSON representation

Module State Management

Awesome Lists containing this project

README

        

# Aktie
Module State Management

Example Component

```js
import React, { Component } from 'react';
import { Protect } from 'components';
import { connect } from 'utils/predux';

class ProtectContainer extends Component {
constructor(props) {
super();

this.changeName = this.changeName.bind(this);
}
changeName() {
this.props.predux.setValue('name', `gabe-${Math.random()}`);
}
render() {
return (


Name = {this.props.name}




)
}
}

export default connect([
'name'
])(ProtectContainer);
```