alexmingoia / purescript-pux

Build type-safe web apps with PureScript.
https://www.purescript-pux.org
Other
566 stars 76 forks source link

create-react-class instead of React.createClass #142

Closed aztecrex closed 7 years ago

aztecrex commented 7 years ago

React.createClass is deprecated so purescript-pux applications get deprecation warning.

The create-react-class package allows the code to use a nearly identical API and is the recommended solution on the React site.

This request adds the create-react-class package dependency and uses it in the React renderer FFI code.

alexmingoia commented 7 years ago

Thank you!