ianstormtaylor / react-values

A set of tiny React components for handling state with render props.
https://git.io/react-values
MIT License
1.02k stars 39 forks source link

rename `<AnyValue>` to just `<Value>` #31

Closed ianstormtaylor closed 5 years ago

ianstormtaylor commented 6 years ago

Using <AnyValue> feels awkward in most places it's used, since it's usually when you don't care about the type. Which, 90% of the time, is when you happen to be using strings, but more in an "enum" sort of use case—for things like state machines.

Instead it would be nice to just call it <Value>.