No description provided.
Thanks for the interesting project, I have started to experiment with it for an existing internal project. For one of the templates, I named a context key `items` like this: ```py @template class MyTemplate(NamedTuple): foo: Bar items: List[Qux] ``` And then in the client code: ```ts <ul> {props.objects.map((item) => <li>{item.baz}</li>)} </ul> ``` Running `manage.py runserver` completed without errors, however the page loaded while showing two "empty" `<li>` items, even though I supplied more than that. If I renamed `items` to `objects` the problem went away, so it is probably a naming clash with `template.items`: https://github.com/silviogutierrez/reactivated/blob/19e3d99d057ba721c5f4d1aee50d3a6d2fa8105d/reactivated/templates.py#L79 I guess it would be nicer to warn users - in the documentation with a list of words to avoid and - in an error message if someone tries to use such a word.
This issue appears to be discussing a feature request or bug report related to the repository. Based on the content, it seems to be still under discussion. The issue was opened by dnet and has received 1 comments.