React.js suppose to re-render all sub components (children) when state of root component changes?
Please have a look at this example: http://jsfiddle.net/F8H7p/8/
In the above example, Only Search sub-component re-renders when the state of Dashboard component changes. But other sub-components - Section, Chart & Widget do not re-render.
This is how my renderComponent looks:
React.renderComponent(Dashboard({title: "D", children: [Section({title: "S", children: [Widget({title: "W"}), Chart()]})]}), document.body); Any Idea why?