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

add https://github.com/EmilStenstrom/django-components #11

Open
toinbis opened this issue Apr 27, 2023 · 3 comments
Open

add https://github.com/EmilStenstrom/django-components #11

toinbis opened this issue Apr 27, 2023 · 3 comments

Comments

@toinbis
Copy link

toinbis commented Apr 27, 2023

the 'components' concept is probably the only things that I'm missing from vue/react world. Django-components tries to solve that. I don't know if that's directly related to python-htmx, but for me it surely is :)

Would love to learn of similar project for jinja2, as fastapi is my primary stack - if anyone heard anything, let's add this to the list as well :)

@tataraba
Copy link
Contributor

I started looking into this and will probably add it somewhere in the Readme, but wondering where it fits best.

I'm not sure if I've run into anything outside of Django that takes this approach, though off the top of my head, I might think of jinja-partials. Though that's probably not exactly what you're looking for?

Oh oops, looks like that library isn't in the Readme yet. I'll add that one now, but I do want a way to possibly highlight django-components, so I'll keep issue open for now.

@lolrenx
Copy link

lolrenx commented Apr 28, 2023

@mixxorz https://github.com/mixxorz/slippers is also a solid contender for django componenting

@toinbis
Copy link
Author

toinbis commented Apr 28, 2023

@lolrenx - I was struggling to remember this one, though surely noticed it some time ago :) Thanks for sharing!

@tataraba - yeah I know jinja partials, but I guess it's not fully what the 'componenting' is expected to achieve. I'll be starting to work on my htmx-fastapi project some time in the future, maybe there are ways of porting django slippers to jinja2 without much hassle.

Thanks both for interesting discussion!

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

No branches or pull requests

3 participants