-
Notifications
You must be signed in to change notification settings - Fork 90
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
use stable version 1.0 for "reactjs/react-php-v8js" #56
base: master
Are you sure you want to change the base?
Conversation
@mscharl Can you please check the breaking test? |
Is the breaking test not caused by the v8js extension not being added to php.ini in the test environment? It appears to be failing on my PR too. |
@mscharl could you rebase it now that the errors are fixed? |
I should look into my Github Inbox more often. It seems as if its even worse now. |
Hmm it looks like its here:
This is because we just updated React to 0.14 and the stable version of react-php-v8js I presume uses React.renderToString. For this to work we will have to either revert back to the old react, implement our own error handler to ignore that warning, create our own polyfill for the console for serverside javascript (so it doesnt actually throw an error for that warning) or finally just not use the stable version of react-php-v8js. |
That sucks ^.^ |
I've filed an issue with react-php-v8js to issue another release with the fixes. reactjs/react-php-v8js#21 |
I've been informed by @TomCaserta that an update in react-php-v8js will not be enough to solve this issue since react-laravel is on a newer version of React than react-php-v8js. |
Thanks for filing that issue @sisve. I commented there about what we want to call the version number.
Not sure what that means. react-php-v8js in master right now just depends on React 0.14 APIs. We haven't published a newer version of React so not sure how react-laravel would be incompatible (looks like it's using 0.14.6). Once a new stable version of react-php-v8js is out you should be fine. |
Yeah he was talking about the current stable version of react-php-v8js being on an older version of react, ie. why this library cannot use the stable version of react-php-v8js without incurring the warnings about React.renderToString being depreciated. |
No description provided.