-
Notifications
You must be signed in to change notification settings - Fork 16
Open
Description
Hi, I migrated the templates of my app to FlowComponents and overall this worked out great and improved my code a lot. However, in some cases I have lost the fine-grained reactivity I had before. These cases follow all the same pattern:
{{#each state$myArray}}
{{>render component="my-component" myProperty=this}}
{{/each}}
If I understand this right, I need to use stateFn$ to wrap the value of myProperty in a function, to avoid rerenderings if myProperty changes. But how can I do this in these cases, where stateFn$myProperty can not be used? Another case in which this problem occurs is something like:
{{>render component="my-component" myProperty=state$myObj.myProperty}}
Metadata
Metadata
Assignees
Labels
No labels