---
# System prepended metadata

title: 'Cookie Jar: Redux'

---

# Cookie Jar: Redux

## Nested Object References and State

## Subscribing to Specific Keys

- [Redux Documentation on Subscribe](https://redux.js.org/api/store#subscribelistener)
    - "Returns: listener (Function): The callback to be invoked any time an action has been dispatched, and the state tree might have changed. You may call getState() inside this callback to read the current state tree. It is reasonable to expect that the store's reducer is a pure function, so you may compare references to some deep path in the state tree to learn whether its value has changed.""