Skip to content
This repository has been archived by the owner on Apr 18, 2023. It is now read-only.

Add concrete example #4

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Add concrete example #4

wants to merge 2 commits into from

Conversation

cge
Copy link

@cge cge commented Sep 15, 2019

Hi, following the issue here #3 I found some time again today and discovered there is React wrapper code in the Ionic code base already: https://github.com/ionic-team/ionic/tree/master/packages/react

I think it will be helpful for those having to use Stencil and React together to see a concrete working example. In this light, I took only the necessary bits from above to support wrapping the default stencil-component-starter MyComponent.

Names containing Ionic or ion where replaced by corresponding ones using Stencil. There are likely many folks who will use Stencil components outside of an Ionic context.

Please also see this related fix: ionic-team/stencil-component-starter#83

Thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant