TypeScript over Rust in frontend? #39
Replies: 4 comments
-
I'm hugely in favor of keeping everything in Rust. Rust is sufficient for a low-complexity web app, and it is our area of expertise. Plus, we can reuse Forest code. |
Beta Was this translation helpful? Give feedback.
-
I love the idea of hosting the server-side stuff on Cloudfare worker. My only concern is about building UI(html/js/css) stuff in Rust (with Leptos). I tried a basic local UI development scenario to hot reload a small UI change (rewording StateNetworkName to StateNetworkName2) by running I have not yet explored enough on Leptos so here I quote the AI generated answer to https://www.google.com/search?q=leptos+vs+react+pros+and+cons Leptos and React are both frameworks for building web applications, but they differ in their approaches and features:
|
Beta Was this translation helpful? Give feedback.
-
Compilation time is an issue. Right now, we always build a complete bundle (server component and frontend component) in release mode and optimize the bundles with |
Beta Was this translation helpful? Give feedback.
-
We decided to move forward with all-in-Rust. If a need arises, we'll revisit this topic. |
Beta Was this translation helpful? Give feedback.
-
@hanabi1224 to clarify so that everyone is on the same page. Why we should introduce TypeScript here? In what areas? What are the benefits over pure Rust approach? What is the state of the Rust ecosystem here? What are the considerations for the team skillset?
cc: @lemmih
Beta Was this translation helpful? Give feedback.
All reactions