WarningLegacy version 6 documentation. View current documentation.

Reset API

The <Reset> component is a <MenuItem> component similar to <Restart>, except that it clears the storageAdapter cache before restarting, effectively resetting the SmartDesktop to "factory settings". All workspaces, preferences, etc. will be deleted. The <Reset> button is included in the default seed project, but is primarily useful for development - you'll probably want to disable it in production.

Props

<Reset> accepts no props.

Usage

You can use the <Reset> component from any menu:

<Menu>
	...
	<Reset />
	...
</Menu>