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

```ts
type ReloadApp = (url?: string) => void;
```

Defined in: [packages/common/src/Platform.ts:88](https://github.com/evoluhq/evolu/blob/dd96d79f1dbe9a49fa12ce8e0aa7d3d0177795ca/packages/common/src/Platform.ts#L88)

Reload the app in a platform-specific way.

Use this after purging persistent storage to clear in-memory state and ensure
the app starts fresh. It does not purge storage itself.

- Web: Redirects to the specified URL (defaults to `/`)
- React Native: Restarts the app (URL ignored)