r/purescript • • May 03 '18

How to write mobile apps using Purescript?

I'd like to write a mobile application using Purescript. How do I go about it? What library/framework do I use?

7 Upvotes

15 comments sorted by

View all comments

Show parent comment

1

u/natefaubion Jun 13 '18

createElement is conceptually pure. It's the ReactClass constructors which are dubious. React relies extenively on referential identity. They kind of get away with it by saying that it's an optimization, and rerendering the whole tree every time is still semantically correct, but I think with lifecycle methods this is disingenuous at best, and would lead to almost all apps being broken on some level if it were the case.