r/purescript • u/saylu • May 08 '20
Halogen Hooks v0.3.0 Released
https://github.com/thomashoneyman/purescript-halogen-hooks/releases
20
Upvotes
r/purescript • u/saylu • May 08 '20
4
u/saylu May 08 '20
It's been a month since Hooks were released for Halogen. In that time I and several contributors have made a number of improvements, which:
HookMno longer carry the component slot and output types around, which seriously cuts down on type signatures)memoComponentwhich lets you control what input should trigger evaluationsmodifyStatefunction, which is simpler to useIf you've been using Hooks, these are breaking changes and I definitely recommend updating to v0.3.0. If you have any trouble doing that please reach out on the Discourse or Slack and I'd love to help out!