Skip to content

jsx 里面注释要加 {} #3

@yolio2003

Description

@yolio2003

jsx 中 <!--region--> 不能用
/*<region>*/ 需要加 {}
{/*<region>*/}

这时候再插入 <div/> 等就很尴尬 是不是可以自定义新的标签
因为可能不能这么 {<div/>}

发现{(<region/>)}也能用,但是都挺别扭

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions