Warning
You're browsing the documentation for an old version of Webiny. Consider upgrading your project to Webiny 5.41.x.
Can I use this?

This feature is available since Webiny v5.35.0.

What you’ll learn
  • how to add new Admin app context providers

Add a Context Provider
anchor

To register a context provider, use the createProviderPlugin utility.

apps/admin/src/App.tsx

Providers can be used not only to register a global React context provider, but also to intercept the Admin app rendering and delay it until some condition is met.