Question · JavaScript and React course · Module 8: Advanced React Patterns
Facade Pattern
How do we most commonly implement the Facade pattern in React?
Answer options
- As Higher-Order Components (HOC)
- As custom hooks that hide complex logic behind a simple API
- As global JavaScript variables
- As classes inheriting from React.Component
You can check the correct answer by solving this task in the CodeWorlds game.