Question · JavaScript and React course · Module 16: Error Handling and Suspense

Skeleton Loader vs Spinner

Why is a skeleton loader better than a simple spinner?

Answer options

  • A skeleton loader loads data faster than a spinner
  • A spinner causes more rerenders of React components
  • A skeleton loader mimics the layout of the target content, giving the user a sense of what will load
  • A skeleton loader uses less browser memory

You can check the correct answer by solving this task in the CodeWorlds game.