gwendall/way.js

Nested repeats are not working

Opened this issue · 1 comments

I have this data

const data = [
  {
    name: '1',
    meta: [{ nested: "1" }]
  }
];
<div way-repeat="data">
  <ul>
    <li way-repeat="meta">
      <span way-data="nested"></span>
    </li>
  </ul>
</div>

This is not working, the inner repeat scope is still same as the outer one :\

I solved this issue by two steps:

  1. delete the library at all.
  2. use rivets.js instead.