0.0.1 • Published 6 years ago

stencil-form v0.0.1

Weekly downloads
2
License
MIT
Repository
github
Last release
6 years ago

Built With Stencil

Stencil Forms

Stencil Forms aims to make using forms in Stencil more straightforward. Uusing stencil-forms, instead of doing this:

Yargh!!

You can do this:

Yay!

Stencil

Stencil is a compiler for building fast web apps using Web Components.

Stencil combines the best concepts of the most popular frontend frameworks into a compile-time rather than run-time tool. Stencil takes TypeScript, JSX, a tiny virtual DOM layer, efficient one-way data binding, an asynchronous rendering pipeline (similar to React Fiber), and lazy-loading out of the box, and generates 100% standards-based Web Components that run in any browser supporting the Custom Elements v1 spec.

Stencil components are just Web Components, so they work in any major framework or with no framework at all.

Getting Started

npm i stencil-forms
or
yarn add stencil-forms

and simply import somewhere near the init point of your app (such as the globals folder):

import '@engineerapart/stencil-forms';

To watch for file changes during develop, run:

npm run dev

To build the component for production, run:

npm run build

To run the unit tests for the components, run:

npm test

Need help? Check out our docs here.