This probably a really easy question to solve. I have a hiccup form and I want to add a child to it after a button press, so I define an atom and update that atom with the child hiccup when the button is pressed. However, when the dom reloads, the only thing that shows up is the word "div". What do I need to do to ensure this works?
Here is the code in question. https://gist.github.com/GoncaloGarcia/c567b68e3b098e71f53307a57f73dcba I was expecting the base-component to render the heatmap component as well once the heatmap atom is swaped by the ajax call
Replace swap!
with reset!
.
Impossible to tell without the code.