API reference@evolu/commonPolyfills › installPolyfills

function installPolyfills(): void;

Defined in: packages/common/src/Polyfills.ts:27

Installs polyfills required by @evolu/common.

Installs resource-management polyfills (Symbol.dispose, Symbol.asyncDispose, DisposableStack, AsyncDisposableStack, and SuppressedError), which are not yet supported by Safari and React Native.

Evolu currently does not require any additional polyfills. If that changes, this is where they will be installed.

@evolu/react-native has its own Polyfills module and its installPolyfills calls this function first, then installs React Native specific polyfills.

Call this explicitly from the app entry point.

See