Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bobril JSX

The current version of Bobril JSX is based on version 0.12.2 of React's JSX Transformer.

For unknown tag names, an br() call will always be generated. This should allow you to use JSX if you're also using BobrilAdapter to implement custom types.

If you make use of JSX Spread Attributes, the resulting code will make use of Object.assign() to merge attributes - if your code needs to run in environments which don't implement Object.assign natively, you're responsible for ensuring it's available via a shim, or otherwise.

Other than that, the rest of React's JSX documentation should still apply:

Command Line Usage

npm install -g jsx-bobril
jsx-bobril --watch src/ build/

To disable precompilation from the command line, pass a --no-precompile flag.

Run jsx-bobril --help for more information.

Related Modules

  • msx - forked plugin.

MIT Licensed

About

Bobril template transformer

Resources

Stars

2 stars

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages