Skip to content

Feature Request #50

@CharrafiMed

Description

@CharrafiMed

Hey mate!

For the case when a component has many variant, and may only specific variant(s) that needs extra dependencies like this example I am going to show you:

Right now I am build the pagination component and there is two types, simple and length aware pagination, and also that length aware paginator may have two variant, and one of them uses the select component for updating the perPage on the client....

In our current approach, the installation of the pagination will always pick up the select component as a dependency, while there is a chance that the user won't use the variant that require it.

So, I think if we introduce like lazy dependencies that let the user decide to install it or not based on his desired varianat of component would introduce better deps management...

this is not a highly required feature, but it will improve the component scaffolding process

Metadata

Metadata

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions