3 ms·
One of the libraries from the article which I have experience with is https://dioxuslabs.com/ https://dioxuslabs.com/ It has a server side rendering mode, whic
by ianpurton 3y ago
One of the libraries from the article which I have experience with is https://dioxuslabs.com/ https://dioxuslabs.com/
It has a server side rendering mode, which for most projects will be all you need.
So then if you follow the Islands Architecture https://www.patterns.dev/posts/islands-architecture https://www.patterns.dev/posts/islands-architecture means you can sprinkle some typescript when you need more dynamic functionality.
I'd love to use Rust for front end enhancement in this way, but the problem is you have to completely open up your content security policy https://github.com/WebAssembly/content-security-policy/blob/main/proposals/CSP.md https://github.com/WebAssembly/content-security-policy/blob/...
Which is going to get picked up in any security review.
I've written up how I develop web apps with rust here https://rust-on-nails.com/ https://rust-on-nails.com/
- noobdev9000 3y agoHave you or anyone else how to organize and test a Rust web application that is structured around usual onion layer using DDD or similar?
- ianpurton 3y agoI mainly test with a combination of unit tests and using selenium https://github.com/stevepryde/thirtyfour https://github.com/stevepryde/thirtyfour for integration tests I wrote it up here https://rust-on-nails.com/docs/continuous-integration/integration-testing/ https://rust-on-nails.com/docs/continuous-integration/integr...