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
2
u/natefaubion Jun 12 '18
createElementis the same as using a data constructor in PureScript. It just builds a record that react-dom knows how to inspect and diff. If you consider allocating memory an effect, then usingMaybeshould incur an effect because it boxes a value. I think we can all agree that's unnecessary in the context of PureScript.