Thanks to visit codestin.com
Credit goes to github.com

Skip to content

task: Deprecate ReactComponentContext and manipulatePropsFunction #243

@sean-perkins

Description

@sean-perkins

These props were introduced as an abstraction to custom behavior that Ionic Framework was taking advantage of ~2 years ago. These props are no longer used by the Ionic Framework project.

Proposal:

  • Deprecate ReactComponentContext from createReactComponent
  • Deprecate manipulatePropsFunctions from createReactComponent

Current:

export const IonAccordion = /*@__PURE__*/createReactComponent<JSX.IonAccordion, HTMLIonAccordionElement>('ion-accordion', undefined, undefined, defineIonAccordion);

After:

export const IonAccordion = /*@__PURE__*/createReactComponent<JSX.IonAccordion, HTMLIonAccordionElement>('ion-accordion', defineIonAccordion);

If your project is making use of these properties, please explain your use case below.

Metadata

Metadata

Assignees

No one assigned

    Labels

    package: react@stencil/react-output-target packagetype: featureNew feature, request or improvement.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions