Taco
What is Taco
Next-generation Web-App-Framework.
Index
- Taco
- What is Taco
- Index
- Quick Start
- Taco Palygroud
- Examples
- Brower Support
- Related Efforts
- Maintainers
- Contributing
- Todo
- LICENSE
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
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
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:
- @tacopie/taco
- ...
LICENSE
GPL-V3.0