r/tauri • u/kukiofficial • 6d ago
Using React?
I am making apps with tauri and before always used it with Vanilla JS/TS, however I recently wanted to use Libraries such as a Liquid Glass Library and Shadcn when I realized that they need React to work,
Now I don't know why I should switch to React except for those 2 Libs to work like it seems overkill
Is there something im missing or is that literally the only thing that react is worth for?
4
Upvotes
View all comments
1
u/TachyonFactory 5d ago
For simple utilities, Vanilla JS/TS is totally fine. React really only pays off in Tauri when your UI has lots of interconnected state synced with Rust events, and since Tauri uses the OS WebView, React's bundle size adds almost no overhead.