A declarative, nested, stateful document.title for React