Skip to content
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

any plans for ReactJS 0.14? #23

Open
hohl opened this issue Dec 29, 2015 · 10 comments
Open

any plans for ReactJS 0.14? #23

hohl opened this issue Dec 29, 2015 · 10 comments

Comments

@hohl
Copy link

hohl commented Dec 29, 2015

No description provided.

@dispalt
Copy link
Owner

dispalt commented Jan 5, 2016

Im not using this anymore, so no. Ill happily accept a PR though.

@nafg
Copy link

nafg commented Jan 11, 2016

+10

@gmalouf
Copy link

gmalouf commented Jan 20, 2016

@ddispaltro are you using an alternative for play?

@dispalt
Copy link
Owner

dispalt commented Jan 20, 2016

no, I am just using different tools at the moment.

@gmalouf
Copy link

gmalouf commented Jan 20, 2016

For those wondering, add the following to your plugins.sbt:

dependencyOverrides += "org.webjars" % "react" % "0.14.3"

that seemed to do the trick for me.

I still needed to add a dependency on react to my build.sbt as well.

@stejskal
Copy link

One thing to note is that facebook has deprecated jstransform, which appears to be the underlying tool used by this plugin to actually transform jsx into javascript, in favor of babel.

https://facebook.github.io/react/blog/2015/06/12/deprecating-jstransform-and-react-tools.html

@juanmirocks
Copy link

The plugin works perfectly fine with 0.14 now

@sl0thentr0py
Copy link

@stejskal I'm looking to update to React v15.x now, do you possibly have an idea of how to use babel in the build pipeline instead?

@stejskal
Copy link

For babel i use this sbt babel plugin: https://github.com/zenato/sbt-babel
you have to configure babel to handle jsx, but its easy if you follow the directions in the babel docs.

@juanmirocks
Copy link

Just to add to @stejskal

Just create a .babelrc with:

{
  "presets": ["env", "react"]
}

And npm-install the babel and the relevant presets, as with:

npm install --save-dev babel-core babel-preset-env babe-preset-react

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants