Ultimately, “Hamnet” is a moving examination of grief and the quiet costs of ambition. By keeping Shakespeare himself mostly offstage, O’Farrell centers the family left behind. Not for everyone, but worth the time for readers who enjoy dense, atmospheric historical fiction.