cultureamp / react-elm-components

Write React components in Elm
https://www.npmjs.com/package/react-elm-components
BSD 3-Clause "New" or "Revised" License
779 stars 54 forks source link

React.createClass is not a function #17

Closed jenyckee closed 6 years ago

jenyckee commented 6 years ago

React.createClass is no longer supported. Causes it to break here:

React.createClass is not a function

sentience commented 6 years ago

See #10, #11, and #14.

mcmunder commented 6 years ago

This problem still exists for me! Reopen the issue?!

sentience commented 6 years ago

@mcmunder The issue was fixed on master but has not yet been released to NPM in a new version of the package. If you point your package.json at this repo ("react-elm-components": "evancz/react-elm-components") you should get the fix.

mcmunder commented 6 years ago

thx @sentience! I did that and it works as expected.