Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow to use one Runner for multiple components #856

Open
Dolfik1 opened this issue Mar 25, 2021 · 0 comments
Open

Allow to use one Runner for multiple components #856

Dolfik1 opened this issue Mar 25, 2021 · 0 comments
Labels
s/ready This issue is ready to be implemented t/enhancement New feature or request
Projects
Milestone

Comments

@Dolfik1
Copy link

Dolfik1 commented Mar 25, 2021

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

@TimLariviere TimLariviere added this to To do in Fabulous via automation Mar 26, 2021
@TimLariviere TimLariviere added s/ready This issue is ready to be implemented t/enhancement New feature or request labels Mar 26, 2021
@TimLariviere TimLariviere added this to the vNext (2.0) milestone Mar 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
s/ready This issue is ready to be implemented t/enhancement New feature or request
Projects
No open projects
Fabulous
  
To do
Development

No branches or pull requests

2 participants