© Fu Cheng 2018
Fu ChengBuild Mobile Apps with Ionic 4 and Firebasehttps://doi.org/10.1007/978-1-4842-3775-5_3

3. Web Components and Stencil

Fu Cheng1 
(1)
Sandringham, Auckland, New Zealand
 

Ionic 4 has two layers of implementations. The bottom layer is Ionic Core that consists of common components built as custom elements in Web Components. These components can be used in any web page with vanilla JavaScript or any JavaScript framework. The top layer consists of bindings for different frameworks. The Ionic team provides the framework bindings of Angular, React and Vue. This chapter covers basic concepts related to Web Components, Stencil and Ionic Core.

Compared to previous versions of Ionic framework, building Ionic components as Web Components in ...

Get Build Mobile Apps with Ionic 4 and Firebase: Hybrid Mobile App Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.