A GHCJS binding to React based on the Flux design. The flux design pushes state and complicated logic out of the view, allowing the rendering functions and event handlers to be pure Haskell functions.
32
stars
10
forks
source link
Upstream: createClass deprecated, breaking all views #79
I think the changes have to be made in react-hs/jsbits/views.js (L176, L197, L255).
However, I'm not sure what those changes are.
This is a blocker for me, as the components I need use the new syntax. (Incidentally, it isn't clear to me how to ensure external components are loaded anyway.)
React 15.5.0 drops
createClass
.See https://reactjs.org/blog/2017/04/07/react-v15.5.0.html#migrating-from-reactcreateclass
I think the changes have to be made in
react-hs/jsbits/views.js
(L176, L197, L255). However, I'm not sure what those changes are.This is a blocker for me, as the components I need use the new syntax. (Incidentally, it isn't clear to me how to ensure external components are loaded anyway.)