You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Important core feature: 1) Props should be observed attributes that trigger rerender, and 2) Props should know when they get changed in general, and be smarter during reconciliation during subcomponent.rerender()
The first has always
5714
been a 0.1.0 prereq, the second is more a requirement that will probably be fulfilled by the first, but should be clearly documented, in terms of techniques for detecting when props change. This is from experience noticing that it's quite clunky as-is (needing to stash away "receivedProps" and compare against current props)
Potentially related: Create a new CPart (or add feature to props) to provide utilities for setting own attributes as well, such as for stashing away important stuff for SSR.
The text was updated successfully, but these errors were encountered:
Important core feature: 1) Props should be observed attributes that trigger rerender, and 2) Props should know when they get changed in general, and be smarter during reconciliation during
subcomponent.rerender()
The first has always 5714 been a
0.1.0
prereq, the second is more a requirement that will probably be fulfilled by the first, but should be clearly documented, in terms of techniques for detecting when props change. This is from experience noticing that it's quite clunky as-is (needing to stash away "receivedProps" and compare against current props)Potentially related: Create a new CPart (or add feature to props) to provide utilities for setting own attributes as well, such as for stashing away important stuff for SSR.
The text was updated successfully, but these errors were encountered: