react-reconciler
React package for creating custom renderers.
Last updated 9 years ago by acdlite .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ npm install react-reconciler 
SYNC missed versions from official npm registry.

react-reconciler

This is an experimental package for creating custom React renderers.

Its API is not as stable as that of React, React Native, or React DOM, and does not follow the common versioning scheme.

Use it at your own risk.

API

var Reconciler = require('react-reconciler');

var ReconcilerConfig = {
  // You'll need to implement some methods here.
  // See below for more information and examples.
};

var MyRenderer = Reconciler(ReconcilerConfig);

var RendererPublicAPI = {
  render(element, container, callback) {
    // Call MyRenderer.updateContainer() to schedule changes on the roots.
    // See ReactDOM, React Native, or React ART for practical examples.
  }
};

module.exports = RendererPublicAPI;

Practical Examples

If these links break please file an issue and we’ll fix them. They intentionally link to the latest versions since the API is still evolving.

This third-party tutorial is relatively up-to-date and may be helpful.

Current Tags

2839 Versions

Downloads
Total 2,481
Today 0
This Week 0
This Month 761
Last Day 14
Last Week 110
Last Month 219
Dependencies (4)
Dev Dependencies (0)
None

© 2010 - cnpmjs.org x YWFE | Home | YWFE