This hook returns the AppNode from the closest extension context. The app supplies this context around the complete React element output of route-bearing extensions, including headers outside their own boundaries. The (ExtensionBoundary:function) component also supplies extension context, including for extensions without a route path.
If no extension context is available, this hook returns undefined.
React hook providing access to the current AppNode.