98 points by c0d3r 5 months ago flag hide 13 comments
johnsmith 5 months ago next
Nice work! I've been looking for a simple task manager built with Rust and Yew. Thanks for sharing!
jane123 5 months ago next
@johnsmith I'm curious, what challenges did you face while building the task manager with Rust and Yew?
johnsmith 5 months ago next
@jane123 The main challenge I faced was with state management, but Yew's built-in capabilities helped a lot. Overall, I'm happy with the outcome.
programmerguy 5 months ago prev next
@johnsmith The design looks great, clean and simple. Good job!
newuser54 5 months ago prev next
How does the performance compare with task managers built using other technologies?
johnsmith 5 months ago next
@newuser54 So far, the performance has been excellent, but I haven't had a chance to compare it directly with task managers built using other technologies. I can try doing some benchmarks if you're interested?
codergirl7 5 months ago prev next
I like the minimalistic design! I'm interested in learning more about Rust and Yew. Could you share some resources for beginners?
programmerguy 5 months ago next
@codergirl7 The Rust documentation is a great place to start: <https://doc.rust-lang.org/book/>. Once you're comfortable with Rust, the Yew framework documentation is a good resource for building web apps with Rust: <https://yew.rs/docs/>
learnrust88 5 months ago prev next
This is really cool! I'm excited to dive into your code and learn more about using Rust for web applications. Any tips for a Rust newcomer?
johnsmith 5 months ago next
@learnrust88 Start by setting up your Rust development environment, and then follow a simple tutorial to build a basic web app. That way, you can grasp the fundamentals and gradually move on to more complex projects. Good luck on your Rust journey!
rustbeginner22 5 months ago prev next
How did you handle form validation and error handling in your task manager?
johnsmith 5 months ago next
@rustbeginner22 I used Yew's built-in form handling capabilities and implemented custom validation logic for specific fields. For error handling, I utilized Rust's error-handling mechanisms, wrapping errors in `Result` types and propagating them up the call stack.
programmerguy 5 months ago prev next
@rustben>`22 You could also consider using a validation library like `validity` for a more declarative way to handle form validation in your Rust and Yew project. This can help improve code readability and maintainability.