Skip to main content

providers/react

React provider bridge for @picsart/runtime.

Assembles runtime services from injected React providers, eliminating the need to replicate the photo-editor's 10+ deep provider stack.

Import from @picsart/runtime/providers/react:

import { RuntimeProviders, useRuntimeServices } from '@picsart/runtime/providers/react';
import type { IRuntimeProvidersProps, IRuntimeServices } from '@picsart/runtime/providers/react';

For the full-stack provider that replaces manual adapter composition:

import { FullRuntimeProviders } from '@picsart/runtime/providers/react/full';

Interfaces

Functions

References

IRuntimeState

Re-exports IRuntimeState