Improve UI loadable components (#5732)

* Add TagLink and PerformerCard to loadableComponents
* Add coarse grain loadable components
This commit is contained in:
WithoutPants
2025-03-18 13:21:00 +11:00
committed by GitHub
parent 6d451d52ea
commit 529e4f6514
2 changed files with 62 additions and 0 deletions

View File

@@ -102,6 +102,8 @@ Returns a `boolean` which will be `true` if the components are loading.
This namespace contains all of the components that may need to be loaded using the `loadComponents` method. Components are added to this namespace as needed. Please make a development request if a required component is not in this namespace.
This component also includes coarse-grained entries for every lazily loaded import in the stock UI. If a component is not available in `components` when the page loads, it can be loaded using the coarse-grained entry. For example, `PerformerCard` can be loaded using `loadableComponents.Performers`.
### `patch`
This namespace provides methods to patch components to change their behaviour.