dialectica

0.1.4 • Public • Published

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 based on the JSX syntax.

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

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

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

Readme

Keywords

Package Sidebar

Install

npm i dialectica

Weekly Downloads

1

Version

0.1.4

License

MIT

Unpacked Size

169 kB

Total Files

9

Last publish

Collaborators

  • krasimir