-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
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 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.
Metadata
Metadata
Assignees
Labels
No labels