Skip to content

piotrpalek/ExtJS-React

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 

Repository files navigation

Cmp.js

Contains a simple React.js component for ExtJS.

ExtJSX.js

JSX Transformer support for ExtJS - a simple modification to the ExtJS class loader.

It intercepts the loader and looks at the currently loading classname. If a part of the classname matches (currently hardcoded) react it loads the script via JSXTransformer.load, if not normal execuction continues.

How to use

  1. Include JSXtransformer.js before extjsx.js, which in turn should be included after ExtJS.
  2. Either use a folder structure like app/react/... or modify scope.LAST_CLASS_NAME.indexOf('react') !== -1 in the extjsx.js file.
  3. You can use JSX syntax in your app/react/... files (or in a custom one).

About

JSX Transformer support + React.js component for ExtJS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published