Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SpriteAnimator/useSpriteLoader types #2171

Merged
merged 71 commits into from
Nov 15, 2024

Conversation

netgfx
Copy link
Contributor

@netgfx netgfx commented Oct 30, 2024

Why

Better typescript support for inner variables and functions for SpriteAnimator

What

Added more robust and detailed types for SpriteAnimator

Checklist

  • [x ] Documentation updated (example)
  • Storybook entry added (example)
  • [x ] Ready to be merged

netgfx and others added 30 commits September 6, 2023 21:49
Copy link
Member

@abernier abernier left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

in c097c0d to reduce dependencies, I've moved out utilities functions out of the hook

Copy link
Member

@abernier abernier left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

then in 9deb57f I've just simplified a lot useSpriteLoader

@abernier
Copy link
Member

imo, SpriteAnimator could also be simplified a lot

@netgfx
Copy link
Contributor Author

netgfx commented Nov 12, 2024

then in 9deb57f I've just simplified a lot useSpriteLoader

I'll check it out and run some tests, I think one of the latest changes on useSpriteLoader is causing re-renders

@abernier
Copy link
Member

@netgfx are we good to merge?

@netgfx
Copy link
Contributor Author

netgfx commented Nov 15, 2024

@netgfx are we good to merge?

I'll perform some tests and let you know as soon as possible

@netgfx
Copy link
Contributor Author

netgfx commented Nov 15, 2024

@abernier I think we are good to go

@abernier abernier merged commit 6197c6a into pmndrs:master Nov 15, 2024
5 checks passed
Copy link

🎉 This PR is included in version 9.116.3 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants