Question · JavaScript and React course · Module 4: Context API and useReducer

Splitting Contexts

What is the main advantage of splitting a large context into smaller, thematic contexts?

Answer options

  • Easier application debugging
  • Better TypeScript compatibility
  • Ability to use more hooks
  • Fewer unnecessary re-renders

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