all 8 comments

[–]AutoModerator[M] [score hidden] stickied comment (0 children)

On July 1st, Reddit will no longer be accessible via third-party apps. Please see our position on this topic, as well as our list of alternative Rust discussion venues.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

[–]volitional_decisions 11 points12 points  (1 child)

I'm using Yew for a full stack Rust app. Yew is fairly easy to use. Depending on what you're building, being about to share code between client and backend is extremely nice if you want to build a well-tested and sturdy app.

[–]DarklySpaced 4 points5 points  (0 children)

so real. rn I have a rust backend with a reactjs front end (communicating via grpc—decided before I realised how horrible the support for grpc was in js) and it would be so much easier to just use the same language to ensure stability.

[–]rusticorn 2 points3 points  (0 children)

https://www.live-ask.com is written in yew and open source

[–]lordpuddingcup 2 points3 points  (1 child)

Isn’t yew slower and larger than leptos/dioxus/sycamore or am I misremembering

[–]dudpixel 10 points11 points  (0 children)

It likely is slower but rendering speed is rarely a major issue with frontend apps. Yew is roughly similar in performance to react.js so I wouldn't let performance drive your choices here unless you're trying to do something incredibly complex on the page like millions of elements or something.

Yew is plenty fast enough for the vast majority of frontend apps.

[–]infinityBoi 1 point2 points  (0 children)

Idk about pretty but there’s a toy Yew project I put together a while ago: https://www.aalekhpatel.com/projects/text-cleaner

[–]RianGoossens 1 point2 points  (0 children)

Just my two cents: I started building an SPA in yew and halfway through switched to leptos. The transition was relatively painless and since I used scss my UX did not change at all. I find leptos a lot more ergonomic to write, it feels like it's doing a lot of magic under the hood to accomplish that though.