Whenever you're ready, walk me through how you'd approach this.
How would you implement a custom hook to manage global state in a complex Facebook application?