Skip to content

Use require for loading more modules - #10267

Open
vaisest wants to merge 1 commit into
PathOfBuildingCommunity:devfrom
vaisest:requirement
Open

Use require for loading more modules#10267
vaisest wants to merge 1 commit into
PathOfBuildingCommunity:devfrom
vaisest:requirement

Conversation

@vaisest

@vaisest vaisest commented Aug 21, 2026

Copy link
Copy Markdown
Contributor

Description of the problem being solved:

This PR changes more modules to import using require(). This was mostly motivated by Zao's mention of repeated modules slowing down loading speeds. On my system, this ended up making the F5 items tab load time 200 ms faster (1.8 -> 1.6), and tests about 3 sec faster (33 -> 3).

Steps taken to verify a working solution:

  • Tests pass
  • Relevant features don't crash

Link to a build that showcases this PR:

Before screenshot:

After screenshot:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant