custom-element-ts
    TypeScript icon, indicating that this package has built-in type declarations

    1.0.5 • Public • Published

    CustomElementTs

    CustomElementTs is a JavaScript/TypeScript library for the creation of single-page web applications.

    It allows you to create your own custom HTML elements and assign a state and behavior to them.

    Github Stars Github Forks Discord

    Project Health

    Codacy Github Actions


    What problems exist?

    React, Angular and most other reactivity libraries and frameworks are much criticized.
    Some for their heaviness, slowness, difficulty to use, lack of cleanliness or difficulty to maintain a project through time.
    Developers would like to have a minimalist tool, compatible with all projects that doesn't require any particular dependency.

    What solutions does CustomElementTs offer?

    JavaScript already embeds all the features needed to design reactive web components.
    You don't need CustomElementTs or any other framework! 😆

    • Cross-browser (web standard) for creating and extending reusable components.
    • Requires no library or framework to get started. Vanilla JS/HTML FTW!
    • Provides a familiar programming model. It's just DOM/CSS/HTML.
    • Works well with other new web platform features (Shadow DOM, <template>, CSS custom properties, etc.)
    • Tightly integrated with the browser's DevTools.
    • DOM allows you to dynamically modify page elements, no need for a virtual DOM.
    • Leverage existing accessibility features.
    • JavaScript functions to manipulate the browser history allow to react dynamically to url changes.
    • No virtual DOM. Your app starts fast and stays fast.

    Yes, but these features are very verbose.

    You don't need complex frameworks to create real web applications with components and reactivity.
    CustomElementTs is useful to you only for simplification and readability.


    Getting Started

    Install Contribute


    Additional Informations

    Top Language License

    Install

    npm i custom-element-ts

    DownloadsWeekly Downloads

    1

    Version

    1.0.5

    License

    ISC

    Unpacked Size

    73.9 kB

    Total Files

    40

    Last publish

    Collaborators

    • morgancaron