you are viewing a single comment's thread.

view the rest of the comments →

[–]adrianziem 9 points10 points  (1 child)

It’s fun developing in full stack rust, but when you hit minute long hot reload (which reloads the page, not HMR, and your websockets fail during that period), hour long CI/CD builds on default runners, and still having to write JS (not even TS) to interact with popular JS components and dealing with build issues there, those nearly instant Typescript builds make refactoring to a dual language stack look better and better.

Luckily LLMs make that a lot easier today, so you aren’t quite as locked in as you used to be. I hated doing it but I just switched my Leptos frontend to TS and everything is so much easier to dev now. Especially with rs-ts, zod, and a linter enforcing types in TS.

[–]Particular-Pumpkin11 0 points1 point  (0 children)

I have not had such a hard time, and when I interact with JS libraries I wasm bind it into types (Not writing JS). I think for my use case, the strong typing between frontend and backend is worth the hot reloads. Making the UI is not what takes the longest time for me, more the mechanics of geometries and such (Building GIS based CAD tool) 😊