iusehooks / usetheform

React library for composing declarative forms, manage their state, handling their validation and much more.
https://iusehooks.github.io/usetheform/
MIT License
86 stars 33 forks source link

useSelector implementation #25

Closed iusehooks closed 3 years ago

iusehooks commented 3 years ago

Improvement:

Example:

function Counter() {
  const [counter, setCounter] = useSelector(state => state.counter)
  return <span>{counter}</span>
}