Skip to content

Use LazyBarrel to improve IDE performanceΒ #62988

@mgfalzon

Description

@mgfalzon

πŸ” Search Terms

"re-export", "barrel file", "optimization", "performance"

βœ… Viability Checklist

⭐ Suggestion

Can the Typescript Language Server implement and use its own version of the LazyBarrel optimization as an experimental feature to improve IDE performance?

πŸ“ƒ Motivating Example

This feature should improve IDE performance (e.g. type highlight) and reduce the impact of barrel files on Typescript codebases.

Explanation provided on LazyBarrel.

πŸ’» Use Cases

  1. What do you want to use this for?

Improving IDE performance.

  1. What shortcomings exist with current approaches?

Barrel files have a significant impact on IDE performance in Typescript codebases.

  1. What workarounds are you using in the meantime?

Manually de-barreling packages.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Awaiting More FeedbackThis means we'd like to hear from more people who would be helped by this featureDomain: PerformanceReports of unusually slow behaviorSuggestionAn idea for TypeScript

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions