Skip to content

New stencil version requires "h" to be imported for JSX support #7

@bdanzer

Description

@bdanzer

Hello!

I opened a PR for this, your generator has been very helpful for components and wanted to call this out. Here is when they addressed it: https://github.com/ionic-team/stencil/blob/master/BREAKING_CHANGES.md

Import { h } is required
In order to render JSX in Stencil apps, the h() function must be imported from @stencil/core:

+ import { h } from '@stencil/core';

function app() {
  return <ion-app></ion-app>
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions