Skip to content

Поддержать обновление ...rest в props #6

@sergeche

Description

@sergeche

См. TODO в src/compiler/ComponentDeclaration.ts

Сгенерировать код для обновления ...rest props у компонента. Примеры:

function MyComponent({ a, b, ...c }) {}

function MyComponent2(props) {
    const { a, b, ...restProps } = props
}

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