[API reference](https://evolu.dev/docs/api-reference) › [@evolu/common](https://evolu.dev/docs/api-reference/common) › [Polyfills](https://evolu.dev/docs/api-reference/common/Polyfills) › installPolyfills

```ts
function installPolyfills(): void;
```

Defined in: [packages/common/src/Polyfills.ts:27](https://github.com/evoluhq/evolu/blob/e7144e2bbe9069362b62dec1b64a8aa922b8f1b0/packages/common/src/Polyfills.ts#L27)

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

- https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Resource_management
- https://github.com/es-shims/DisposableStack
- https://github.com/es-shims/DisposableStack/issues/9