Pergunta de entrevista da empresa Thoughtworks

Explain the SOLID principles and how they apply in frontend development. What are common design patterns in React (e.g., HOC, Render Props, Custom Hooks) and when would you use them? How would you structure and scale a large React application to keep it maintainable? Can you explain dependency inversion with a frontend example? How do you decide between using a Context API, Redux, or custom hooks for state management?