Có thể sử dụng những hàm chuyên biệt để lấy ra những thuộc tính cần lấy ở trong state.
Ví dụ:
const selectCounterValue = (state) => state.count
const currentValue = selectCounterValue(store.getState())Ta gọi những hàm như hàm selectCounterValue là các selector.