Productivity Tools.


Keywords
taco, mvvm, chrome, dom, js, vdom
License
GPL-3.0
Install
npm install @tacopie/taco@1.0.19

Documentation

taco

Taco

Build Status Coverage Status LICENCE size badge language version

🥩 + 🥔 + 🍓 = 🌮;

github star

What is Taco

Next-generation Web-App-Framework. 💫Reactivity, 📐Functional, and 🌮All-in-JS.

Index

Quick Start

ESM

<!DOCTYPE html>
<html lang="en">
  <div id="root"></div>
  <script type="module">
import * as Taco from 'https://unpkg.com/@tacopie/taco?module';

const {
    useState,
    render,
} = Taco;

// 一个实时JSX的库
import htm from 'https://unpkg.com/htm?module';
const html = htm.bind(Taco.h);

const App = () => {
    const css = { margin: '.5rem', padding: '1rem', 'font-weight': 900 };
    const [state] = useState({name: "🌮TacoJS"});
    return html`<h3>Hello, ${state.name}</h3>`
}

render(App, document.querySelector('#root'));
  </script>
</html>

Taco Palygroud

try it now!

Examples

In this repository you can find example projects.

use Typescript/TSX/Webpack

Brower Support

Target environments are Chrome, Firefox, Safari.If you need to adapt a low-level browser environment, following preprocessors and polyfill are recommended:

  • babel Babel is a compiler for writing next generation JavaScript.
  • webcomponentsjs v1 spec polyfills

Related Efforts

  • lit-element A simple base class for creating fast, lightweight web components
  • vue A progressive, incrementally-adoptable JavaScript framework for building UI on the web.
  • react A declarative, efficient, and flexible JavaScript library for building user interfaces.

Maintainers

@zhzluke96

Contributing

Feel free to dive in! Open an issue or submit PRs.

TacoJs follows the Contributor Covenant Code of Conduct.

Todo

I'd like to invite you to join @tacopie on Trello. We use Trello to organize tasks, projects, due dates, and much more.

boards:

LICENSE

GPL-V3.0