Globals and shared modules

Usage no npm install needed!

<script type="module">
  import reactSpringShared from 'https://cdn.skypack.dev/@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