r/purescript • u/kalikoot • Apr 30 '17
Well-documented ui-library for purescript beginner
Any advice on a good ui-library for a purescript and haskell beginner? What I am looking for is good documentation and getting started guides, preferably combined with some purescript 101.
I am not looking for the highest-performance code or to minimize number of bytes or being able to do very advanced functional programming.
For some context: My background is C/C++/python/Rust and lately javascript with bootstrap and backbone.js which I've started to loathe due to the amount of runtime errors I'm encountering.
6
Upvotes
View all comments
Show parent comment
2
u/alexmingoia May 03 '17
In my own benchmarks using a list of 10000 counters, Pux + memoize is 1.8x slower to render than vanilla React + componentShouldUpdate. That's just measuring the time between the start of the top-level render() function and componentDidUpdate(). The time between an event and the start of the render is harder to measure, as it's highly dependent on the context. It's worth mentioning that it's likely possible to achieve better rendering performance than React by writing a vdom patcher in PureScript that used purescript-smolder (what Pux uses for markup).