Hacker News new | ask | show | jobs
by danabramov 4507 days ago
How do you update React views when BB models change?

Most approaches I've seen use `forceUpdate` although it is arguably more React-ish to [pass along pure JSON][1].

We're currently sticking with passing JSON top-down and calling `renderComponent` when model changes so `props` never mutate.

What is your experience with this?

[1]: (http://stackoverflow.com/a/21710111/458193)