Skip to content
This repository has been archived by the owner on May 11, 2023. It is now read-only.

Releases: FormidableLabs/renature

SSR ⚡

14 May 23:57
Compare
Choose a tag to compare

In this release, we add support for using renature in Node.js environments for server-side rendering. Previously, using renature in server-rendered React applications would result in a runtime error.

Fixed

  • Fallback to Date.now in lieu of performance.now in Node.js environments when tracking frame timestamps in rAF. PR by @parkerziegler here.

Diff

User-configurable G parameter 🌌

25 Apr 19:10
Compare
Choose a tag to compare

In this release, we allow users to supply their own value for G, the Universal Gravitational Constant, in the configuration of useGravity and useGraviyt2D hooks. This allows users to achieve similar animation effects without needing to provide extremely large mass values for the mover and attractor.

Added

  • ✨ A user-configurable G parameter for the useGravity and useGravity2D hooks. PR by @parkerziegler here.

Diff

Normalized parser and interpolator structures 🧮

08 Apr 01:10
Compare
Choose a tag to compare

In this release, we added type support for animating SVG elements, normalize our parser and interpolator structure, and include better support complex CSS properties like transform and box-shadow. We also released a new iteration of our docs site on react-static v7 – live here.

Added

Fixed

  • Normalize parser and interpolator structure and move them to separate directories. PR by @parkerziegler here.
  • Improvements to our docs site and a migration to react-static v7. PR by @parkerziegler here.

Diff

💅 Initial Release

20 Jan 22:33
Compare
Choose a tag to compare

This release represents the first publish of renature!