Famous / Famous/framework

$repeat does not play nice with HTML elements

Open
#42 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
394
Forks
62
PR merge metrics
No merged PRs in 30d

Description

It is not possible to $repeat a component that has a HTML element as an ancestor.

Example tree:

```



Never!

```

Results in error:
`Uncaught Error: ParentNode with UID`null`does not exist. Unable to process $if/$repeat`

---

Similarly, it is not possible to `$repeat` a HTML element.

```
behaviors: {
'.item': {
'$repeat': '[[identity|products]]'
}
},
states: {
products: [1,2,3,4]
},
tree: `

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.