I’m new to purescript, halogen, and front end in general but I like FP so I thought I would give it a try.
Just tried copying the example in the halogen-formless README exactly but I the component seems to log to the console and then immediately refresh the page so I can’t see it. Which means I can’t do anything stateful. I changed the state to be an Array of dogs and have the form add the dog to the array and render the list of dogs. You see the dog added to the list then immediately disappear.
Does anyone know what I am doing wrong? Code is here: https://github.com/JoeCordingley/formless-example/blob/master/src/Dogs.purs