Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@imbhargav5
Copy link
Owner

Summary

  • Deprecate useAnimation hook which only returned a progress value and oversold its capabilities
  • Introduce useEasing hook with comprehensive animation controls: start/stop/resume, looping, alternating direction, easing functions, delay support, and proper state management
  • Add development-time deprecation warning for useAnimation

Test plan

  • ✅ All 1031 existing tests pass
  • ✅ New useEasing hook has 16 comprehensive tests covering all features
  • ✅ Build completes successfully with no errors
  • ✅ Hook is properly exported and integrated into the package

🤖 Generated with Claude Code

Replace the overpromising useAnimation hook (which only returned a progress value) with useEasing - a new hook that provides complete animation control: start/stop/resume, looping, alternating direction, easing functions, delay, and proper state management. Includes deprecation warning in development builds.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Haiku 4.5 <[email protected]>
@codesandbox
Copy link

codesandbox bot commented Dec 13, 2025

Review or Edit in CodeSandbox

Open the branch in Web EditorVS CodeInsiders

Open Preview

@vercel
Copy link

vercel bot commented Dec 13, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
rooks Ready Ready Preview, Comment Dec 13, 2025 5:24am

@netlify
Copy link

netlify bot commented Dec 13, 2025

Deploy Preview for rooksjs ready!

Name Link
🔨 Latest commit d219729
🔍 Latest deploy log https://app.netlify.com/projects/rooksjs/deploys/693cf81165640300082e981f
😎 Deploy Preview https://deploy-preview-1896--rooksjs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Haiku 4.5 <[email protected]>
@imbhargav5 imbhargav5 merged commit 3ec5dd0 into main Dec 13, 2025
8 checks passed
@imbhargav5 imbhargav5 deleted the imbhargav5/useAnimation-review branch December 13, 2025 05:36
@github-actions github-actions bot mentioned this pull request Dec 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants