reactjs / react-php-v8js

PHP library that renders React components on the server
Other
1.33k stars 127 forks source link

Best way to enable using JSX with this? #4

Closed brenelz closed 9 years ago

zpao commented 9 years ago

You can preprocess (with react-tools or babel from node) or do something like what pyreact or react-rails do (load JSXTransfomer into context and run the code through that transform fn)

brenelz commented 9 years ago

Yeah... I kind of have it figured out. Browserify also works...