Qwik lacks a native spring primitive #211
newsve
started this conversation in
Proposals For Qwik
Replies: 1 comment
-
Hey @newsve! What you're describing with provided damping and other configuration options to create a spring is now part of native CSS. In particular the linear function. This is something Qwik motion needs to tackle as part of its foundational generator API's (if it were to be an abstracted library) If you're interested in helping get this further I'd be happy to add you to the Qwik motion repo! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
What is it about?
Qwik lacks a powerful native spring API perfectly integrated with the state management like with Svelte and Solid
What's the motivation for this proposal?
Problems you are trying to solve:
[1] https://svelte.dev/docs/svelte/svelte-motion#Spring
[2] https://primitives.solidjs.community/package/spring
Goals you are trying to achieve:
Any other context or information you want to share:
Solid API examples in combination with state management (Svelte's is pretty similar):
Proposed Solution / Feature
What do you propose?
A spring API using Qwik's native state statemanagament
Code examples
See above and close to Solid with more terse naming, e.g., no create, just spring
Links / References
No response
Beta Was this translation helpful? Give feedback.
All reactions