0.8.0
In this release rifm is refactored with hooks. Gzipped size is reduced from 909 to 627 bytes. This big win allows us to add more features and still fit into 1kb lib. Note: api is still render prop based.
Confusing refuse
prop is replaced with inverted version accept
. We decided that whitelist (regexp) is more straightforward way to parse values. For example
refuse={/$^/}
becomesaccept={/.+/g}
refuse={/[^\d]+/g}
becomesaccept={/\d+/g}
In Saturday we deployed our new website. With this release we handled a few edge cases for number and date formats and added some styles to make examples nicer