Prefer this over scope.getRoot().getRegistry(): the registry is a container concern, reached
by context like useCommandButtonRegistry, not by walking the scope tree to its root. A
feature provider reads it to seed its static chrome; it never needs the root scope to do so.
The ambient CommandRegistry, or
nulloutside a provider.Prefer this over
scope.getRoot().getRegistry(): the registry is a container concern, reached by context like useCommandButtonRegistry, not by walking the scope tree to its root. A feature provider reads it to seed its static chrome; it never needs the root scope to do so.