Replies: 7 comments 14 replies
-
Hi, We left the frontend part undecided, precisely for this reason -- to understand what people prefer. Even Rails moved from HTML and jquery, to HTML and ejx (remember that?), to HTML and PJAX, and then everyone did Rails API + React (remember that?), and today Rails is doing turbo and these kind of family of solutions. Rails evolved from feedback and we respect that. We think Loco needs to evolve too. The foundation at 0.1.x is very strong (i.e. we already supply Another possibility is that the Rust community will prefer a Rust-flavored frontend like Yew, or Dioxus or the likes. I think the hard part is hitting at what people expect these days. By the way we also promote contribution. If you think you have an idea we would happily review a PR and help you make it into the framework. |
Beta Was this translation helpful? Give feedback.
-
Being opinionated and integrating Yew or Dioxus would make total sense. You should go for it. |
Beta Was this translation helpful? Give feedback.
-
Converted to discussion. We'll update as we move forward on this, thanks! |
Beta Was this translation helpful? Give feedback.
-
I'd like to propose along with dioxus you look at leptos for front end UI needs. There are some UI kits for it like leptonic. Happy to see a project like this, thanks! |
Beta Was this translation helpful? Give feedback.
-
How about providing a simple static HTML setup from the start, potentially with htmx, and if people need something more they can switch to a full FE framework of their liking? This should give a quick and simple starting point for at least smaller projects, without locking the user into a specific, more complex and opinionated FE framework. |
Beta Was this translation helpful? Give feedback.
-
Looks like Loco uses Tera for email HTML. Was there an idea to extend Tera's use for "regular" browser HTML? Besides the other commenter's suggestions (leptos, yew, etc), consider Silkenweb. Its similar to Leptos, but has a philosophy that aligns with loco in that it minimizes fancy-macro boilerplate. |
Beta Was this translation helpful? Give feedback.
-
We created an example of how to serve/develop a front-end app with Loco. It will be greate to get your feedback. |
Beta Was this translation helpful? Give feedback.
-
Hi there! Congrats on the launch, and thanks for making this. Great idea.
Now onto the actual feature request.
So when I saw that this is Rails-inspired, I naturally expected something similar to
generate scaffold
and Action View. A way to have a bare-bones HTML frontend up and running quickly.Instead, I'm getting a DIY kit to assemble a CRUD REST API, and zero help with the actual frontend. Should I use React/Vue? That's not the Rails way.
I'm also not seeing anything about this topic in the roadmap in the README.
"Loco follows Rails" is not true (yet).
Again, I find the project really awesome, but there's a long road ahead, it looks like.
Beta Was this translation helpful? Give feedback.
All reactions