Skip to content

Allow to use one Runner for multiple components #856

@Dolfik1

Description

@Dolfik1

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.
image

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).

Metadata

Metadata

Assignees

No one assigned

    Labels

    s/readyThis issue is ready to be implementedt/enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions