Today I release a stable version of React Pipeline that I’m using in production, version 14.7.0. This is a complete rewrite of 0.2.1 utilizing a structure that mirrors the internals of React 0.14.7, with a simplification of the exported API from it’s previous version.

This framework allows a developer to build task pipelines — such as those found in Luigi, Gulp, Grunt, etc. — utilizing React idioms and JSX.

$ npm install --save react react-pipeline

There are only two classes that are exported by React Pipeline: Task and ReactPipeline. ReactPipeline acts similar to ReactDOMServer and has a single static method start(). Task is a React component that is pre-configured to be used as a task within the pipeline. It is a convenience class and is unnecessary to inherit from. As long as you pass in a valid React component that has an exec() method that returns a Promise the task will be processed.

ReactPipeline.start(

<Task>

<CompileJs input={out} output={jsOut} />

<UglifyJs input={jsOut} output={jsMinOut} />

</Task>

).catch(err => console.error(err));

More documentation can be found on the react-pipeline GitHub page, and an example project can be found at react-pipeline-example.

Roadmap