dialectica
Like jsx but for your domain logic
Last updated a year ago by krasimir .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install dialectica 
SYNC missed versions from official npm registry.

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!

Current Tags

  • 0.1.4                                ...           latest (a year ago)

5 Versions

  • 0.1.4                                ...           a year ago
  • 0.1.3                                ...           a year ago
  • 0.1.2                                ...           a year ago
  • 0.1.1                                ...           a year ago
  • 0.1.0                                ...           a year ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 6
Last Day 0
Last Week 0
Last Month 1
Dependencies (0)
None
Dev Dependencies (13)
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |