# dialectica

> Like jsx but for your domain logic

Latest version **0.1.4** (published 2018-08-28) · MIT license · 0 weekly downloads

## Install

```sh
npm install dialectica
pnpm add dialectica
yarn add dialectica
bun add dialectica
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.4 |
| Published | 2018-08-28 |
| First published | 2018-08-24 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 164.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 3 |
| Author | Krasimir Tsonev |
| Maintainers | krasimir |
| Keywords | dialect, jsx |

## Links

- npm: https://www.npmjs.com/package/dialectica
- Repository: https://github.com/krasimir/dialectica
- Homepage: https://github.com/krasimir/dialectica#readme
- Issues: https://github.com/krasimir/dialectica/issues
- npm.io page: https://npm.io/package/dialectica

## Recent versions

- 0.1.4 (latest) — 2018-08-28
- 0.1.3 — 2018-08-27
- 0.1.2 — 2018-08-27
- 0.1.1 — 2018-08-27
- 0.1.0 — 2018-08-24

## README

# Dialectica

*Dialectica* is a library that allows you to use React's transpiler for different purpose. React is our view layer. It takes care for the rendering part. *Dialectica* is opposite. It is dealing with the business logic of our applications. It allows us to write our own [dialect](https://en.wikipedia.org/wiki/Dialect) based on the [JSX syntax](https://facebook.github.io/jsx/).

```js
/** @jsx dialect */
import { dialect, speak } from 'dialectica';

const Foo = function ({ name }) {
  console.log(`Hello dear ${ name }!`);
}

speak(<Foo name='programmer'/>); // Hello dear programmer!
```

---
_Source: https://npm.io/package/dialectica · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
