API reference › @evolu/common › Platform › ReloadApp
type ReloadApp = (url?: string) => void;
Defined in: packages/common/src/Platform.ts:52
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)