v3.2.0
Improvement:
- useSelector :
useSelector(selector: Function)
allows to pick a single "Field" from the Form state using a selector function. - Update documentation.
- Some code refactoring.
Example:
function Counter() {
const [counter, setCounter] = useSelector(state => state.counter)
return <span>{counter}</span>
}