You can also use React Hooks in PureScript with purescript-react-basic-hooks[1].
Or for a more native PureScript approach to single-page web apps, check out purescript-halogen[2] and purescript-halogen-hooks[3] (created by the author of this article).