React Bandjs Renderer
A proof of concept that React.js' "rendering" is actually effect compositor, and can be used in any domain without visual elements
Setup
```npm install react-bandjs-renderer```
Usage
-
Import the renderer:
;// -- Or, if in CommonJS way:var render = ; -
Render some JSX with customised internal components. Note the
dummytags
is necessary for JSX:// -- This is necessary because JSX doesn't support customised tags.; -
Done! A completed demo from Band.js is in the
demo/mbros-theme/
.
Components
Internal components in this renderes are:
- Conductor
- Instrument
- Note
- Rest
- Repeat
They map different operations in Band.js.
Reference
- Tiny React Renderer: great reference for learning how to build your own renderer.
- Band.js: internal components here will execute specific operations defined by Band.js
License
Copyright 2016 Greg Weng and various contributors. Released under the MIT License (MIT).
Band.js is under MIT license and it's a project owned by Cody Lundquist