Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Why not using Svelte to create web components? #50

Closed
ggbaro opened this issue Dec 2, 2023 · 3 comments · Fixed by #191
Closed

Why not using Svelte to create web components? #50

ggbaro opened this issue Dec 2, 2023 · 3 comments · Fixed by #191

Comments

@ggbaro
Copy link

ggbaro commented Dec 2, 2023

Always been a fan of pydantic (kudos @samuelcolvin), I'm glat to explore this new project

Have you considered making the frontend components in Svelte?
It's a pretty stable framework now, and it can actually compile to web components.

Web components could be fairly easy to use with a jinja(or mini-jinja)-based templated composer (#48)

I think it could be even possible to use Svelte stores as FastUI components, allowing cool interactions between displayed contents

@ggbaro
Copy link
Author

ggbaro commented Dec 2, 2023

I can help if you think this could work

@samuelcolvin
Copy link
Member

samuelcolvin commented Dec 5, 2023

If someone else wants to build an alternative frontend with another framework, I'd be very happy to link to it and help promote it, even move it into this repo if it gets stable.

But right now, I don't think there's a big win to most users from (re)writing the frontend with svelte.

#48 is a kind of different matter and IMHO the big win with that is the idea of rendering FastUI interfaces without any javascript - just pure HTML.

@hasansezertasan
Copy link
Contributor

hasansezertasan commented Dec 6, 2023

But right now, I don't think there's a big win to most users from (re)writing the frontend with svelte.

I believe the community support for ReactJS and great ecosystem built arround it is a great upside.

If someone else wants to build an alternative frontend with another framework, I'd be very happy to lik to it and help promote it, even move it into this repo if it gets stable.

And @samuelcolvin you are the best for saying it. Looking forward to see alternatives.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants