Skip to content

Releases: infiniteluke/react-reduce-motion

Fix "main" field path in package.json

22 May 06:14
Compare
Choose a tag to compare

Reported in #1, this bug caused a variety of issues with webpack and eslint. Should be working now!

Fix web default

09 Oct 19:18
Compare
Choose a tag to compare

Web was passing the entire matchMedia return to the default state. This fixes that by passing the matches property as the default.

Better default experience

07 Oct 19:13
Compare
Choose a tag to compare

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!

Spelling is hard

05 Oct 22:54
Compare
Choose a tag to compare
Spelling is hard Pre-release
Pre-release

Don't use case-insensitive find and replace all, friends! This release fixes the web package's media query name 🤦🏻‍♂️

Initial Release

05 Oct 21:59
Compare
Choose a tag to compare
Initial Release Pre-release
Pre-release

Now that the package is reasonably tested, time for an initial release! 🎉