Zac's Garden

Useful snippets

  • This hook uses setInterval to create a game loop that runs every certain amount of seconds.
  • This hook adds logic to check whether or not to use the default system theme or a theme set by the user.
  • Prettier configuration that I use in most projects