seed-rs / seed-rs.org

Seed's official website
https://seed-rs.org/
Other
14 stars 40 forks source link

Seed vs Yew #49

Open MartinKavik opened 4 years ago

MartinKavik commented 4 years ago

People want to decide whether to use Seed or Yew. We should add detailed comparison on the website.

Live (very rough) draft content below:


Hi, Is there a comparative between Yew and Seed? hi @Reymon#0005 @cascalheira#5661 - I think there isn't updated comparison and there are probably guys with more current Yew knowledge, but in a few points:

Is somebody (who ideally knows Yew) willing to write a proper comparison 🙏?

rebo commented 4 years ago

For me one of the main reason I like Seed, not specifically over yew but seed generally is the macro system. It's simple enough to be very versatile and because its 'just rust' it can be very composable.

I think in Yews benefit developers familiar with JSX might feel it is more comfortable. That said I'm not certain a JSX template language is needed when the Seed macros are so versatile.

Indeed I think the ability to extend Seed in a number of ways is very important because it means the framework can easily adapt to new requirements.

Overall both frameworks have a lot to offer and probably what is more exciting is where Rust can take web development and what new concepts can be constructed and refined in top of what we have at the moment.

Ben-PH commented 4 years ago

for me, I came back to seed from yew because I much preferred to have a consistent syntax that that the compiler and other tools understand. There are other reasons -

For example, my IDE can't reason about the yews JSX-like styling by default, and rustfmt isn't able to detect and correct issues.

1init commented 4 years ago

Seed is not the first framework i have tried. it is the frame work i stuck with. I think docs are there. community is there for support and best of all its easy to get to grips with if you have basic knowledge on html css js.

Ben-PH commented 4 years ago

I have always had a great appreciation for the Rust community. My experience has been close to universally positive, and my experience with the Seed community promises to follow in that spirit. To nurture and protect this, I think it's important to highlight that everything said here respects Yew as a valuable addition to the Rust ecosystem in one way or another.

in OSS projects, the quality of the community sets the foundation for its potential to have a positive impact. It's great to see this thread as being about "Choice A vs. Choice B" and not "Us against Them".