So I was going through the Fuse’s features overview and trying out their example, but it seems to return me error?
Source: https://www.fusetools.com/docs/basics/feature-overview
<App>
<JavaScript>
module.exports = {
items: ["#f00", "#0f0", "#00f"]
}
</JavaScript>
<StackPanel>
<Each Items="{items}" />
<Panel Height="40" Margin="10">
<JavaScript>
console.log("hello!");
</JavaScript>
</Panel>
</Each>
</StackPanel>
</App>
Error returned:
When I removed <Each>
block inside the <StackPanel>
, the error is gone. Is this a bug? Seems like the <StackPanel>
didn’t expected <Each>
to be inside it. I don’t see anything wrong though.
I’m using Atom as my editor. Fuse v.0.12.4