Tauri: Getting Started | Build Desktop Apps with React & Rust!
Hussain Arif
0:00 / 0:00
Tauri: Getting Started | Build Desktop Apps with React & Rust!
443 просмотра · 6 дн. назад
Hussain Arif
320 подписчиков
443 просмотра · 6 дн. назад
Code: https://github.com/HussainArif12/taur...
Hey guys, in this video you guys will learn how to get started with the Tauri library to build a simple desktop app using React and Rust.
Here's what we'll do today:
Setup Tauri app
Look through the default folder structure in a Tauri app
Building Rust functions and calling them in React
Managing state and making them persistent across reloads and windows
Displaying simple notifications via JavaScript
Displaying a tray for our app
Custom tray icons
Displaying menubars and submenus
File selection dialogs
Writing/Saving to files via Rust
Breaking up Rust functions in lib.rs into different files
0:00 Intro
0:58 Video plan
1:47 Project setup
4:00 Project overview
5:30 Calling Rust code from the frontend
10:20 State management
17:01 Displaying notifications
20:11 Displaying trays
28:27 Menubars
31:22 Displaying file selector dialogs
34:21 Writing to the file system
39:14 Organizing Rust code
41:21 Outro
Thanks for watching!