Timothy

Results 90 comments of Timothy

Sorry, I haven't had time to read through all of this, but I just wanted to note that we don't only use one JS file per component. E.g., I am...

> Are multiple files something you think should be auto-discovered or specified explicitly? The reason I ask is because – my knowledge of JS being less deep – I'm concerned...

Out of interest, since I believe django-components is still young, would it be disagreeable to use the component name? Again, like JSX: ```django {% Box %} {% slot "contents" %}...

> I'm not sure it's possible to have a tag that might, or might not, have an ending tag? How do you know when you should stop parsing? Could use...

I wonder if `end` might be more agreeable? e.g., ```django {% component "button" label="sign up" id="btn-sign-up" level="primary" end %} ``` Since this follows the Django pattern of using `only` at...

Also, just an additional thought, but since people are already configuring components in the .py file, you could also ask them to configure whether the component supports being a block...

If only there was djsx 😅 would be the best addition to Django Templates other the django-components.

> I'm not a big fan of making everyone change the component tags to add end of / to them... You wouldn't need to with `with`, since then it's just...

Woops, I didn't totally understand the issue 🙈 I'll change the title to be more accurate to the new `hyper` CLI 👌

This is available as a plugin. https://github.com/zeit/hyperlinks