[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:68](https://github.com/evoluhq/evolu/blob/037c390af081e9944d616ff298a729515c5c5ab7/packages/common/src/Platform.ts#L68)

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)