Deciphering State Management in Tauri | plaintext daw 14

preview_player
Показать описание
Through trial and error, I discover how Tauri manages state - and how NOT to manage state in Rust (using mutable global variables).

PageKey Tech is a channel where we take back tech by building our own versions of the products and services we all use every single day.

If you want to get involved in contributing, consider joining our Discord:

We can discuss what you want to work on and get you involved!

Timestamps:
0:00 Intro/Summary
0:46 Merging #13 (LTstrange)
2:02 Where we left off with Tauri
2:20 Researching global mutable state (don't do it)
3:23 Simple Tauri State Management article (thank you!)
3:56 Strange Mutex, manage, Default syntax
4:17 Set state working
4:35 Tauri hot reload rocks
4:47 New files
5:11 How to get Rust state into JavaScript
6:52 Wrapping up
Рекомендации по теме
Комментарии
Автор

wow this was very usefule. glad to see I'm not the only one struggling with this.

EPICfranky