John Cant

Results 74 comments of John Cant

I found both GHCJS and Haste a nightmare to set up (they both took me 2 whole days), so I used Vagrant, but for me that solves the installation difficulties...

In the interests of getting this pull request merged and react-haskell working on Haste and GHCJS, Here's my Vagrant setup for Haste and this branch: https://gist.github.com/johncant/6a337759304b0e473659 . It should work...

I'm going to need to spend more time on this understanding GHCJS's compiled output. Haste's compiled output took ages to get my head round, and GHCJS looks like it has...

Tried reductio ad absurdum: https://gist.github.com/johncant/ce2fdf37713396dba069 There's an issue in GHCJS about this: ghcjs/ghcjs#256 luite argues that this case (i.e exactly what we're trying to do in this PR) isn't necessarily...

For interop we need to be able to pass "props" when we render a class. Are you interested in using Haskell-defined react classes from JS? It looks like React has...

Hi Joel, was going to contribute more to this repo this week, but unfortunately the rest of my life got slightly in the way. I think I am close to...

Can we have a composition tag `reactClass_` to bridge the gap between ReactT and ReactClass in an obvious way?: ``` haskell``` div_ $ do reactClass_ someClass span_ "this is not...

^ I see your point about createClass living in the IO monad from trying to use the above example It looks like the Javascript `render` function on each React class...

Where do animations and transitions fit into Javascript React?

I've been working on a branch which uses a `reactClass_` as a starting point - it can always be done away with later. The unmonadic class creation helps massively. Although,...