Question · JavaScript and React course · Module 10: React Ecosystem and Future

Web Workers Use Cases

Which task is an IDEAL candidate for moving to a Web Worker?

Answer options

  • Changing a button color on click
  • Parsing and analyzing a CSV file with 500,000 rows
  • Sending a fetch request to an API
  • Updating form state with 5 fields

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