@extjs/reactor-babel-plugin

1.1.2 • Public • Published

Ext JS Reactor Babel Plugin

This Babel plugin allows you to import Ext JS Components as React Components using the following syntax...

import { Grid, Panel } from '@extjs/ext-react';

... which this plugin converts to ...

import { reactify } from '@extjs/reactor';
const Grid = reactify('grid');
const Panel = reactify('panel');

You can also use it to load components from the classic toolkit:

import { Grid, Panel } from '@extjs/reactor/classic';

Installation

Install via npm...

npm install --save-dev @extjs/reactor-babel-plugin

...then add to .babelrc:

{
  "presets": ["es2015", "react"],
  "plugins": ["@extjs/reactor-babel-plugin"]
}

Readme

Keywords

none

Package Sidebar

Install

npm i @extjs/reactor-babel-plugin

Weekly Downloads

49

Version

1.1.2

License

MIT

Unpacked Size

8.46 kB

Total Files

6

Last publish

Collaborators

  • israelroldan
  • sencha-don
  • sencha-mark
  • senchabot