@@chrisbiscardi thank you for saying about Perseus - ill look into it! Looks promising. My setup is Tauri + Sycamore + WasmPack (for wasm build) + Vite (frontend build) Right now im experimenting with GUI for my "discord" app.
@@chrisbiscardi Awesome! Also, great videos. One thing I don't get is why all of the rust front-end frameworks model themselves after react. Regardless, it's interesting to watch this space develop. I'm not sure its ready for prime-time yet but interesting none the less.
@@ChanceDinkins it's a bit of a long story. tldr; is that React made some good choices years ago and rose in popularity sharply in the JS ecosystem. Being the leader in the space grants you some significant influence. Not every framework is a React-alike but most feel the need to compare themselves to React at least. Sycamore in particular models itself more after SolidJS than React.
@@chrisbiscardi Yea, I did a good bit of UX/front-end dev, ending with AngularJS but backbone, jquery, and vanilla before I took a 5+ year hiatus from development & computers in general. On my way out, React was already picking up steam. Google had just shipped Angular (2?) and really upended a lot of effort the community had put in to build out an ecosystem. A ton of folks were soured over that and jumped ship so I guess it shouldn’t have come as too much of a surprise to me when I got back into the field. Still though, I’d really like to see perhaps a svelte-like (which may be a bit too magical, I don’t know) implementation or even something novel.
Leptos next perhaps? If you're doing the rounds of frontend web stuff! :) it's a bit like sycamore but it has a more yew feeling jsx style template format. It also doesn't do `app_state.todos.get()` but instead `app_state.todos()` which feels a bit nicer to me
yep, leptos is on the list. Tomorrow's video is on perseus (already uploaded/scheduled) and I'm probably going to end this week with some Rust releases/new features videos then pick back up with UI stuff after that.
We could have this pretty easily in sycamore as well if we were to use nightly features. Leptos just uses nightly by default and stable is opt-in rather than opt-out.
It's styled by CSS in the same way CSS normally works everywhere else (selectors, DOM, etc). In this example there's a link tag to a stylesheet all the todomvc projects use. UI changes on DOM events are supported by binding those events to functions or values to Signals that are then reacted to by your application. -- github.com/sycamore-rs/sycamore/blob/ce74cb52f2f46ef285c10101b85a49e6bfbaa3f5/examples/todomvc/src/main.rs#L200-L201
Really don't like how cumbersome the iteration loops are in sycamore. Completely ruins the entire development experience. The way they're done in svelte is the gold standard in terms of syntax. The closer we can stick to that, the better. Seed has very nice syntax for this, so it's not like rust is incapable of being writable and readable. Clean syntax is actually one of the biggest selling points of rust and we shouldn't forget that
started to use sycamore myself - amazing tool!
i also setup tailwind/windicss so i dont have to write css myself
Are you using just sycamore or something like Perseus with it?
@@chrisbiscardi thank you for saying about Perseus - ill look into it! Looks promising. My setup is Tauri + Sycamore + WasmPack (for wasm build) + Vite (frontend build)
Right now im experimenting with GUI for my "discord" app.
can you make a video on Perseus, it's built on Sycamore but with many more features
Coming tomorrow
Please do a video of sycamore with ssg without perseus.
dioxus is probably worth looking into if it isn't on your list already.
it is, and I've worked with it before so we'll likely talk about it at some point.
@@chrisbiscardi Awesome! Also, great videos.
One thing I don't get is why all of the rust front-end frameworks model themselves after react.
Regardless, it's interesting to watch this space develop. I'm not sure its ready for prime-time yet but interesting none the less.
@@ChanceDinkins it's a bit of a long story. tldr; is that React made some good choices years ago and rose in popularity sharply in the JS ecosystem. Being the leader in the space grants you some significant influence. Not every framework is a React-alike but most feel the need to compare themselves to React at least. Sycamore in particular models itself more after SolidJS than React.
@@chrisbiscardi Yea, I did a good bit of UX/front-end dev, ending with AngularJS but backbone, jquery, and vanilla before I took a 5+ year hiatus from development & computers in general.
On my way out, React was already picking up steam. Google had just shipped Angular (2?) and really upended a lot of effort the community had put in to build out an ecosystem. A ton of folks were soured over that and jumped ship so I guess it shouldn’t have come as too much of a surprise to me when I got back into the field.
Still though, I’d really like to see perhaps a svelte-like (which may be a bit too magical, I don’t know) implementation or even something novel.
Leptos next perhaps? If you're doing the rounds of frontend web stuff! :) it's a bit like sycamore but it has a more yew feeling jsx style template format. It also doesn't do `app_state.todos.get()` but instead `app_state.todos()` which feels a bit nicer to me
yep, leptos is on the list. Tomorrow's video is on perseus (already uploaded/scheduled) and I'm probably going to end this week with some Rust releases/new features videos then pick back up with UI stuff after that.
We could have this pretty easily in sycamore as well if we were to use nightly features. Leptos just uses nightly by default and stable is opt-in rather than opt-out.
if you think the Keyed is weird, then you should take a look at Angular...
But how and where does it get styled? How does it handle UI changes on DOM events?
It's styled by CSS in the same way CSS normally works everywhere else (selectors, DOM, etc). In this example there's a link tag to a stylesheet all the todomvc projects use.
UI changes on DOM events are supported by binding those events to functions or values to Signals that are then reacted to by your application. -- github.com/sycamore-rs/sycamore/blob/ce74cb52f2f46ef285c10101b85a49e6bfbaa3f5/examples/todomvc/src/main.rs#L200-L201
Really don't like how cumbersome the iteration loops are in sycamore. Completely ruins the entire development experience. The way they're done in svelte is the gold standard in terms of syntax. The closer we can stick to that, the better. Seed has very nice syntax for this, so it's not like rust is incapable of being writable and readable. Clean syntax is actually one of the biggest selling points of rust and we shouldn't forget that