Skip to content

Latest commit

 

History

History
7 lines (5 loc) · 391 Bytes

details.md

File metadata and controls

7 lines (5 loc) · 391 Bytes

Re-rendering Details

Cottontail will re-render a component only when it needs to, to display it's content correctly:

  • If the containing render function calls it with different props. Props are compared by individual prop value.
  • If it accessed an observable while rendering that has now changed
  • If it has children props and a render function that holds it is called in is called.