Skip to content

Handling of <template> elementsΒ #39

@lowlighter

Description

@lowlighter

Scope

for

What do you want to define?

mizu should treats <template> as a group block, similarly to how v-for handles it

Example usage

<template *for="2">
  <p></p>
  <p></p>
</template>

The complexity probably comes from tracking generated elements (since we don't have a vdom and we don't really want to)

It is also unclears if $generated from *empty should count it as a single generated element or not

Needs to interacts nicely with #37

I have searched for existing issues

Yes

Metadata

Metadata

Assignees

No one assigned

    Labels

    scope: forspecSpec definition for non-well defined behaviors

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions