First of all, sorry if this is a little basic, but I’m just starting to understand Purescript (though with a Haskell background at least).
I’ve been reading the react-basic-hooks documentation and came across two functions:
reactComponent. The first one seems to receive a general
props type, wheras the latter receives
Record props. What’s the difference between
reactComponent seems to return a
ReactComponent. Clicking on the docs simply gives me
data ReactComponent :: Type -> Type as it’s type. When do I use