0.0.6 • Published 10 years ago

omniescent v0.0.6

Weekly downloads
3
License
mit
Repository
github
Last release
10 years ago

Omniescent

A library providing an abstraction for React components similar to that of Quiescent for clojurescript. Except, sometimes you need state! Omniescent pairs the simplicity of Quiescent with the cursors of Om, for js, using Immutable.js.

var component = require('omniescent'),
    React     = require('react');

var Heading = component(function (value) {
  return React.DOM.text({}, value.text);
});

$ = document.querySelector.bind(document);
React.renderComponent(
  Heading({ text: 'some text' }),
  $('.app'));