Quantcast
Channel: Ionic Forum - Latest posts
Viewing all articles
Browse latest Browse all 230080

Ionic preact, ion-button or IonButton?

$
0
0

From the stencil docs:

The largest deficiencies that React currently has when it comes to working with standard HTML Custom Elements is that properties that contain non-scalar data (that is, data that is not a string or number) are not passed properly and custom events are not handled properly. The solution to both of these problems is to wrap the Custom Element in a React component, obtain a ref to the Custom Element, and use the ref in order to set the non-scalar properties and add event listeners via addEventListener


Viewing all articles
Browse latest Browse all 230080

Trending Articles