Fork me on GitHub

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?


Impossible to tell without the code.


Here is the code in question. 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!.