solid-spring
solid-spring copied to clipboard
Like react-spring, but for SolidJS.
## Repro https://codesandbox.io/s/solidspringdoublemountrepro-7jqzuv?file=%2Fsrc%2Fmain.tsx ## Workaround ```js function() { let myRef return ( { if (myRef) return myRef = el }} > I get mounted twice and the second ref is...
I couldn't get this lib to work with the lest solid js version, so had a go at fixing the issues. I added prettier and eslint, fixed a bunch of...
I have moved the createEffect into createMemo so the update is synchronous, also now is createMemo in tracking scope so it will return new accessor.
This Repository has no documentation and the .start() update the state and .update() does nothing
The examples are all using const value, I'm not sure how to use it with props value? , eg: ``` const springs = createSpring({ from: { x: props.x, y: props.y}...
Hi! Thank you for creating this lib! I use this library with solid-start. I created a page in the routes folder with ```tsx export default function Page() { return test...
Hi Thanks for the lib :) I want to use the numbers effect, but console logs "Unrecognized value. Skipped inserting". https://codesandbox.io/s/numbers-kbc57h?file=/index.tsx Any idea why this could be happening?
@react-spring/web has preset `easings` exported which include functions such as exponential, ease-in-out, etc. Could this also be ported to solid-spring? This is the export: https://github.com/pmndrs/react-spring/blob/fd65b605b85c3a24143c4ce9dd322fdfca9c66be/packages/shared/src/easings.ts
I must be missing something, but there doesn't seem to be a way to compute the `{transform: 'translate(${x}, ${y})'}`. The code below "works" (for just the x value), but when...