Code Monkey home page Code Monkey logo

clinch.jsx's Introduction

Dependency Status Build Status

clinch.jsx

This is external addon for clinch - CommonJS to browser packer to support React .jsx files.

This version have ES2015 support, with additional option es2015 : yes.

How to use

Clinch = require 'clinch'
clinch_jsx = require 'clinch.jsx'

# create packer object
packer = new Clinch runtime : on
# add plugin (chainable)
packer.addPlugin clinch_jsx
# or add plugin with es2015 option
packer.addPlugin clinch_js6 es2015 : yes

For more information see main module documentation.

Options

es2015

Use options es2015 to set up ES2015 support:

packer.addPlugin clinch_js6 es2015 : yes

extension

Use option extension to set up custom file extension:

packer.addPlugin clinch_js6 extension : '.jsx6' # now files with .jsx6 will be processed wia clinch_js6

About React version

React grow fast and add new features and drop old one in every new releases, so clinch.jsx have some version for all minor React version.

This is 0.14 version, used for React 0.14 branch, where react-tools was deprecated and .jsx compiled by Babel. For options see Babel options.

clinch.jsx's People

Contributors

meettya avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.