[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:52](https://github.com/evoluhq/evolu/blob/e7144e2bbe9069362b62dec1b64a8aa922b8f1b0/packages/common/src/Platform.ts#L52)

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)