Retrieve the state for the given Pod, creating or rebuilding it when required.
T get<T>(Pod<T> pod) => _ensureNode(pod).value as T;