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

https://github.com/zmitry/-statefull

react-statefull
https://github.com/zmitry/-statefull

Last synced: 2 months ago
JSON representation

react-statefull

Awesome Lists containing this project

README

          

# statefull
react-statefull

react statefull hoc

it add local state redux like.
```jsx
statuefull({
title: ''
},{
setTitle: (state, value)=> { return { ...state, title: value' } },
clearTitle: (state, value)=>{ return { ...state, title: '' } }
})(({ title, setTitle, clearTitle })=>{
return


{title}
setTitle(e.target.value)}> title
clear

})
```