Skip to content

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