Skip to content

updating the state atom doesnt update the DOM #6

@murtaza52

Description

@murtaza52

Hi Conrad,

First let me thank you for the excellent framework. This is what I have been looking for a long time !

Conrad this is the use case I have -

  1. I created an initial state (def app-state (atom {:data nil}))

  2. Launched the app (launch-app app-state render-all)

  3. Then did an ajax call which resets the :data key of the app-state

I expected the above to cause the DOM to rerender. (The render-all function loops over the data element and renders it). However there was no change. Any ideas on what I am doing wrong , or what should I do ?

Again thanks for the effort !

Thanks,
Murtaza

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions