Maintain State In Tauri Apps
This is how I'm maintaining state in the Rust portion of my Tauri apps. The method uses [TODO: Code shorthand span ] and [TODO: Code shorthand span ] to hold on to the values.
The example provides an input field and "Set State" button that stores a String. The "Get State" button retreives the String and outputs it on the page.
File: src/index.html
File: src-tauri/src/main.rs
~ fin ~