You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Ashelyn Dawn dd7b03297a
ensure tauri event listener is always unsubscribed
previously if a component mounted and then immediately unmounted we may not have received the callback function from tauri

this makes it so the promise we receive from tauri is awaited as part of cleanup instead, guaranteeing the unlisten callback is always called (deferring that call until it's available if necessary)
6 months ago
..
assets standard tauri template 6 months ago
hooks ensure tauri event listener is always unsubscribed 6 months ago
App.css standard tauri template 6 months ago
App.tsx quick proof-of-concept of updating state and subscribing to events from react 6 months ago
main.tsx standard tauri template 6 months ago
styles.css standard tauri template 6 months ago
vite-env.d.ts standard tauri template 6 months ago