Personally, I’m not very satisfied with the UX of the
purescript-web libraries, so I sought out to make my own. I’m using a type class approach to trim down on all the conversions, very similar to the long abandoned dom-classy.
I’m also trying to follow the WHATWG spec very closely. I’m looking to have a module for each interface (at least the ones that add any sort of extra functionality), and use type classes to combine their functionalities. That being said, I’ll also be including relevant W3C interfaces as well.
It’s a huge API to wrap and still very incomplete (I’ve just been adding functionality as I need it), but I think there’s enough there to make the approach clear.
So yeah, just looking to get some feedback before pushing forward.
- Does it look like something you’d want to use?
- Do you see a fatal design flaw? (I’ve already fixed a few of those myself along the way)