react-values
react-values copied to clipboard
A set of tiny React components for handling state with render props.
Is there an `` example I could see where `push` is done ? My array changes but no re-render happens when I do a `push`
Once hooks reaches the non-beta branches, `react-values` should expose themselves as hooks. And eventually we can deprecate the render prop approach.
Added an example for how we can use set values to implement a radio set.
Hi @ianstormtaylor! Right now it is not convenient to use this library with babelify/browserify, since that uses ES6 export and requires global browserify transform. Changing `main` entry in `package.json` to...
Right now, the convenience transforms are "smart" in that if you do: ```jsx {({ increment }) => ( )} ``` It will fail because it's actually being called as `increment(event)`....