Skip to content

v0.8.2

Compare
Choose a tag to compare
@ezhlobo ezhlobo released this 26 Aug 13:41
· 3 commits to master since this release

Fixed

  • Stop crashes when we use iterations over basic variables, not related to props.

    function Component() {
      const list = []
    
      return pug`
        each item in list
          div(key=item.id)= item.test
      `
    }

    In this example we were trying to attach item.id and item.test to props.