Skip to content

0.8.0

Compare
Choose a tag to compare
@TrySound TrySound released this 27 May 09:01
· 35 commits to master since this release

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={/$^/} becomes accept={/.+/g}
  • refuse={/[^\d]+/g} becomes accept={/\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

image