jsdf / coffee-reactify

DEPRECATED – browserify transform to compile coffeescript + react jsx (cjsx)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Working with React 0.13.x

nakwa opened this issue · comments

Hi there!

This is maybe more a question than an issue, but :
I can make coffee-reactify work nicely with react 0.12.1 coffee-script, browserify, coffeeify, and coffee-react-transform.

However I can't get this set-up to work with react 0.13.x.
I can update my react code and it will compile the build properly but I then I get the following js error :
Error: Invariant Violation: React.render(): Invalid component element.

  • Would coffee-rectify and react 0.13.x be supposed to work together ?
  • Any clue where is that error coming from ?
  • Any clue where I need to look / where to start if I want to fork and update coffee-reactify to work with the latest version of react ?
  • Any alternative ?

Thank you!

Ok my bad, this was due to how I was rendering component in my application; there is some differences on how it's handle between 0.12.1 and 0.13.1.
However @jsdf you should probably update the "version compatibility" paragraph in README.md , this might be misleading :)