r/tauri • u/kukiofficial • 1d 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?
0
Upvotes
3
u/Flick9000 1d ago
Check out Basecoat UI, it'a fork of shadcn that doesn't require React.
1
u/TachyonFactory 22h 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.