Pass ReactMount from outside to avoid circular dependencies