r/purescript • u/jamesdbrock • Nov 13 '19
Advice on greenfield PureScript + React?
I want to write a new PureScript app which will render as a React component in a JupyterLab extension.
This application will be very interactive with lots of drag-and-drop.
My question is: what would you, expert and opinionated PureScript developer, choose for your dependencies to start project like this?
- thermite?
- purescript-react-basic + purescript-react-dnd-basic?
- purescript-react?
Reference: https://www.reddit.com/r/purescript/comments/a3jguv/ui_library_question/
13
Upvotes
View all comments
Show parent comment
3
u/[deleted] Nov 14 '19
I can't speak for Phil or thermite, really, but it depends on what you want. If thermite's api appeals to you, give it a shot! The hooks api appeals to me because it's so close to the JS one, meaning my own knowledge from that area is more directly applicable and it's easier to interact with 3rd party libs like react-media-hook. We were also porting an existing JS React app, so easy ffi helps a lot. But that's just me :)