Skip to content

Instantly share code, notes, and snippets.

View isaakengineer's full-sized avatar
💭
Seeking employment/freelance

Isaak Engineer isaakengineer

💭
Seeking employment/freelance
View GitHub Profile

Quick start

Tauri is shipped with state management function/feature by default.

Basic usage is quite simple: a variable of State type can be accessed on the tauri commands which you have defined; in other words, "with tauri commands, they'll magically inject state for you," so that once a variable is managed you can inject them directly as additional input when defining the command.

Example Implementation