Right now, we don't use any JS. But I don't think we can nor should avoid JS the whole time. So we need to think about how we integrate JS. Adding tiny helper function all over the place will end in chaos. Additionally, we want to reduce the traffic and number of HTTP requests by having only one JS file in the end. So we need some kind of preprocessor.
Maybe, we could use TypeScript. From the little detail I know, it looks like a strongly typed Rust would fit better to TypeScript than to the dynamically and weakly typed JS.
Right now, we don't use any JS. But I don't think we can nor should avoid JS the whole time. So we need to think about how we integrate JS. Adding tiny helper function all over the place will end in chaos. Additionally, we want to reduce the traffic and number of HTTP requests by having only one JS file in the end. So we need some kind of preprocessor.
Maybe, we could use TypeScript. From the little detail I know, it looks like a strongly typed Rust would fit better to TypeScript than to the dynamically and weakly typed JS.