JSPM

@react-spring/shared

10.0.0-alpha.1
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 2293084
  • Score
    100M100P100Q198032F
  • License MIT

Globals and shared modules

Package Exports

  • @react-spring/shared

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@react-spring/shared) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

@react-spring/shared

Various helpers used by @react-spring/core and/or the platform targets (eg: @react-spring/web).

Notable exports:

  • The Globals object (updated with its assign method)
  • The createStringInterpolator function
  • The createInterpolator function
  • The normalizeColor function
  • The FrameLoop class
  • The colors object
  • The colorToRgba function
  • The FluidValue class and related functions