@react-spring/core
Advanced tools
Comparing version 9.4.3-beta.0 to 9.4.3-beta.1
@@ -2077,19 +2077,2 @@ import { eachProp, is, toArray, isAnimatedString, Globals, getFluidValue, useLayoutEffect, each, raf, flush, FluidValue, deprecateInterpolate, callFluidObservers, frameLoop, hasFluidValue, flushCalls, isEqual, getFluidObservers, addFluidObserver, removeFluidObserver, noop, useMemoOne, deprecateDirectCall, useForceUpdate, usePrev, useOnce, createInterpolator, createStringInterpolator } from '@react-spring/shared'; | ||
ref['start'] = propsArg => { | ||
const results = []; | ||
each(ref.current, (ctrl, i) => { | ||
const props = is.fun(propsArg) ? propsArg(i, ctrl) : propsArg; | ||
const parent = ref.current[i + (reverse ? 1 : -1)]; | ||
if (parent) { | ||
results.push(ctrl.start(_extends({}, props, { | ||
to: parent.springs | ||
}))); | ||
} else { | ||
results.push(ctrl.start(_extends({}, props))); | ||
} | ||
}); | ||
return results; | ||
}; | ||
if (propsFn || arguments.length == 3) { | ||
@@ -2096,0 +2079,0 @@ ref['_getProps'] = (propsArg, ctrl, i) => { |
{ | ||
"name": "@react-spring/core", | ||
"version": "9.4.3-beta.0", | ||
"version": "9.4.3-beta.1", | ||
"main": "dist/react-spring-core.cjs.js", | ||
@@ -5,0 +5,0 @@ "module": "dist/react-spring-core.esm.js", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
263012
8104