This proposal is intended to improve performance and optimize memory usage. This can be useful when we have multiple instances of same component.
As you can see on the screen there are 3 avatars of same person. There is no need to keep 3 active runners for each avatar. Instead of this Fabulous can use the same runner for each instance of component (avatar).
Proposal
Fabulous can detect the same components by their key. This behavior should be disabled by default, but we can enable it with a special property (reuseRunner).
Use case
This proposal is intended to improve performance and optimize memory usage. This can be useful when we have multiple instances of same component.
As you can see on the screen there are 3 avatars of same person. There is no need to keep 3 active runners for each avatar. Instead of this Fabulous can use the same runner for each instance of component (avatar).
Proposal
Fabulous can detect the same components by their
key
. This behavior should be disabled by default, but we can enable it with a special property (reuseRunner
).