News for hackers. Stuff that matters.
Re:How to write PureScript react components to replace JavaS... by bgorman on Thursday June 25, 2020 @02:09AM (#23637398)
Consider looking at ReasonML and ReasonReact, you can write stringly typed code at first, later you can start relying on type inference and ADTs
Re:How to write PureScript react components to replace JavaS... by omniscient_oce on Thursday June 25, 2020 @03:47AM (#23637936)
Yeah, ReasonML and ReasonReact are great because you're still writing JSX and not some over-engineered voodoo rewrite of React and/or JS but you get the power of strong types and ADTs and a super fast compiler.