reactjs / react-php-v8js

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

Allow setting the Javascript scope for components #9

Open jbroadice opened 9 years ago

jbroadice commented 9 years ago

It seems ugly to have to place components in the global scope. How about this method to allow for setting the JavaScript scope in which React components are contained?

18601673727 commented 8 years ago

https://github.com/reactjs/react-php-v8js/pull/20

jonalport commented 8 years ago

This is a thing I would like to do too.