tauri-docs icon indicating copy to clipboard operation
tauri-docs copied to clipboard

[docs] Add a guide about `tauri::State`.

Open anshul-raman opened this issue 3 years ago • 5 comments

Managing state of the application is a very common problem. Consider adding a section on managing state of the application in rust on this page.

The documentation is available in docs.rs but linking this page in features section of the main website will be more helpful.

anshul-raman avatar Jun 17 '22 11:06 anshul-raman

other than this https://tauri.app/v1/guides/features/command#accessing-managed-state?

amrbashir avatar Jun 17 '22 11:06 amrbashir

I might have missed that. Sorry for this. Still a separate section with detailed example like in the docs.rs page would be helpful.

anshul-raman avatar Jun 17 '22 11:06 anshul-raman

Yeah, this piece of documentation is hidden in the page @amrbashir linked, not something you can find from a higher browsing level (the search doesn't give us many clues, too). I believe it deserves a dedicated page, I'll do it.

Laegel avatar Jun 22 '22 09:06 Laegel

i think @lucasfernog works on this, or at least planned to do 😄

FabianLars avatar Jun 22 '22 09:06 FabianLars