Skip to content

Better default experience

Compare
Choose a tag to compare
@infiniteluke infiniteluke released this 07 Oct 19:13
· 12 commits to master since this release

The web react hook was defaulting to false in the initial release. This was not necessary. The default will now be the users` preference. If that preference changes, the state will be then update.

NOTE: Because retrieving the user's reduce motion preference is "effectual" in react native (requires resolving a promise) the default false will remain for the native hook. That is a slight difference between the two implementations.

With this release, I feel comfortable encouraging people to use this package. So no more pre-release flag!