purescript-halogen-hooks
purescript-halogen-hooks copied to clipboard
Reusable stateful logic in Halogen, inspired by React Hooks
Hi! First of all thanks a lot for this great project, I really like the idea :). We are running into a weird runtime exception when having 2 hooks components...
A fix is possible in the main Halogen code, but the issue only affects Hooks users, so I wouldn't consider it a regular Halogen issue. The help [docs for `emit`](https://pursuit.purescript.org/packages/purescript-halogen/5.0.0/docs/Halogen.Query.EventSource#v:emit)...
is it possible to not use `freer` as intermediate representation AND make components right away - thus improving performance?
Some proposals: 1. Add a few words about `captures` to this section: https://github.com/thomashoneyman/purescript-halogen-hooks/blob/main/docs/01-Hooks-At-A-Glance.md#the-effect-hook 2. Change the language here to clarify that `captures` is not an _optional_ performance enhancement, but that...
Having an issue where calling a HookM callback from a child component results in an error like this: ``` Error: Failed pattern match at Data.Maybe (line 268, column 1 -...
This is sort of a funny situation... If I want to write a test for hooks in the `purescript-halogen-hooks-extra` library, I have to add a souce glob via `.spago/halogen-hooks/*/test/**/*.purs` to...
Turns out my previous fix only papers over the real issue in #73. Halogen does not seem to guarantee the order in which HalogenQ fires. It's possible that Receive or...