Replies: 3 comments 2 replies
-
Hi, I saw your post on reddit and it reminded me of a proof-of-concept i did a few months ago: https://github.com/brmc/django-sfc I don't plan on doing anything else with the project, but you might get some ideas, specifically regarding this discussion on nesting components My primary motivation sounds similar to yours in some respects:
I didn't plan to create a full framework like you're doing though. I just wanted to see how far i could go and keep things minimalist There's no readme in my repo, but you can see a reddit post with more details and an explanation of how to use it: https://www.reddit.com/r/django/comments/g0ezsf/singlefile_components_i_was_experimenting_with_an/ Feel free to steal, ignore, or discuss. I'm fine with any of the above :) |
Beta Was this translation helpful? Give feedback.
-
I'm currently working through a prototype in #107, but it's not pretty. Some pieces work already (e.g. child component can update a parent component's data), but lots of edge cases to work through. |
Beta Was this translation helpful? Give feedback.
-
This has now been released in 0.15.1. Documentation: https://www.django-unicorn.com/docs/child-components/. |
Beta Was this translation helpful? Give feedback.
-
How would this work? Does it seem like it would be useful in the future?
Beta Was this translation helpful? Give feedback.
All reactions