talyssonoc / react-laravel

Package for using ReactJS with Laravel
896 stars 90 forks source link

Have you guys ever succeed using this with React addons? #53

Closed 18601673727 closed 8 years ago

18601673727 commented 8 years ago

I did this:

...
React.createClass({
  mixins: [LinkedStateMixin],

  getInitialState() {
...

and

V8Js::compileString():38264: ReferenceError: LinkedStateMixin is not defined

:disappointed_relieved:

18601673727 commented 8 years ago

and I'm pretty sure that I'm using this file react-with-addons.js to compile on both side.

talyssonoc commented 8 years ago

Try to use: mixins: [React.addons.LinkedStateMixin]

talyssonoc commented 8 years ago

@18601673727?

18601673727 commented 8 years ago

@talyssonoc Yeah, I think this could been closed, thanks for the help!