Put in order · JavaScript and React course · Module 8: Advanced React Patterns

Introduction: Higher Order Components (HOC)

Arrange the syntax for calling a Higher-Order Component:

Items to put in order

  • );
  • =
  • const EnhancedComponent
  • withAuth(
  • Dashboard

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