Getting Closure on React Hooks

This looks like a good article on how React/JavaScript hooks work. I confess I got confused about 1/3rd of the way in. Maybe needs a re-read. A useful reference where a mini React hooks clone is built.