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

Refactor 3 #21

Open
wants to merge 1 commit into
base: refactor-2
Choose a base branch
from
Open

Refactor 3 #21

wants to merge 1 commit into from

Conversation

michaeltintiuc
Copy link
Member

This is the third step of refactoring:

  • Create custom hooks

We have further cleaned up our components and created 2 custom hooks - useSprite and useAnimatedSprite which take care of rendering into the canvas a static or animated sprite. This will allow us to improve code even further by creating utility/helper functions in the upcoming PRs.

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.

1 participant