Open antoninadert opened 6 years ago
It is quasi-reserved. It's overridden in the repeat block because the repeat binding is rewritten as:
{this.collection().map((repeatObject, repeatIndex) => {
return <Component />
})}
Feel free to submit any PR that you think will make the project or documentation better =)
Hi Manuel,
I was looking at the doc:
And I see a lot of use of this repeatObject. For me it is self-explanatory that this will give me the current color in this example.
That being said, you show this in the example but there is no word about it in the docs.
If I understand correctly, it is a reserved keyword. If you agree I'll try and make a pull request to explain the repeatobject in the loops context