reactjs / react-php-v8js

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

Best way to use inline css styles ? #10

Closed EugeneLiang closed 9 years ago

EugeneLiang commented 9 years ago

Hi good day,

May i know how can we use CSS inline styles ( https://facebook.github.io/react/tips/inline-styles.html ) using react-php-v8js ?

Been googling around and can't really find a definitive answer.

Cheers!

jbroadice commented 9 years ago

If you're using something like Browserify to bundle up your Javascript, you could use ReactCSS to solve this problem. It allows you to couple the style definitions with the component directly.

zpao commented 9 years ago

I don't think there's anything special about react-php-v8js here so I'm going to close out.