An open API service indexing awesome lists of open source software.

https://github.com/hrkings/webcomponent-battle

A small repo for experimenting with the creation of fast and lightweight web components
https://github.com/hrkings/webcomponent-battle

Last synced: 4 months ago
JSON representation

A small repo for experimenting with the creation of fast and lightweight web components

Awesome Lists containing this project

README

        

# Web Components Battle

This is a repository aimed to test different frameworks to build a very simple design system with web components, with the objective to see which one I like most and is more fun to use.

_Obs.: All of them will be using [Vite](https://vitejs.dev/guide/) and TypeScript_

## Why those two main frameworks ?

Those two main frameworks were chosen because they are more lightweight, Svelte compiles to vanilla JS and Lit is designed to create web components. I didn't want any heavy engine to be used in a web component that can be used in any framework.

## The main frameworks

### Svelte

The documentation is available [here](https://svelte.dev/docs)

### Lit

The documentation is available [here](https://lit.dev/docs/)

## Other frameworks

Other two frameworks are being tested due to popularity amongst developers.

### Vue

The documentation is available [here](https://vuejs.org/guide/introduction.html/)

## React

The documentation is available [here](https://reactjs.org/docs/getting-started.html)

## The tooling

To build the sample design system, [Storybook](https://storybook.js.org/) will be used.