r/purescript • u/attilah • 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
View all comments
Show parent comment
1
u/natefaubion Jun 13 '18
createElementis conceptually pure. It's theReactClassconstructors 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.