Problem Statement
What are selectors in Redux?
Explanation
Selectors are functions that take the Redux state as an argument and return some derived or extracted data from it, providing an abstraction layer between components and state shape. They encapsulate state access logic, make refactoring easier since components don't depend on state structure directly, and can compute derived data efficiently. Selectors can be simple functions or memoized selectors created with reselect library for performance optimization.
