Yomguithereal / react-blessed

A react renderer for blessed.
MIT License
4.45k stars 177 forks source link

Add example in vanilla Javascript #49

Closed piranna closed 7 years ago

piranna commented 8 years ago

Example are written in jsx, and compiled result is imposible to understand. Please add a simple demo in vanilla Node.js javascript to show how it can be used the library, and if possible how to define templates to set the elements too.

Yomguithereal commented 8 years ago

Hello @piranna. I see your point and agree with it but unfortunately I don't have much time to do so. I'll gladly accept a PR though :). Else I'll tackle this point when migrating to react v15.

piranna commented 8 years ago

Thank you :-) I've been reading a bit about jsx and seems to be vanilla Javascript with support for React tags, but still it confuse me a lot :-P

konobi commented 8 years ago

you could have a look at JSnoX as an example of doing react with plain JS.

revolunet commented 7 years ago

closable ?