Skip to content

fix: load declarations with onRender#204

Merged
ZuperZee merged 1 commit intomainfrom
zuperzee/load-declarations-with-on-render
Jun 10, 2025
Merged

fix: load declarations with onRender#204
ZuperZee merged 1 commit intomainfrom
zuperzee/load-declarations-with-on-render

Conversation

@ZuperZee
Copy link
Copy Markdown
Contributor

Load declarations from both onRender and onInit editors. Only use one as the loader to minimize the number of requests.

This commit also reduces the number of times declarations are loaded. Before each time the editor was rendered it would load declarations. Now it only loads them if they are not already loaded.

Closes #201

Load declarations from both onRender and onInit editors.
Only use one as the loader to minimize the number of requests.

This commit also reduces the number of times declarations are loaded.
Before each time the editor was rendered it would load declarations.
Now it only loads them if they are not already loaded.

Closes #201
@ZuperZee ZuperZee changed the title fix: load declarations with onRender as well fix: load declarations with onRender Jun 10, 2025
@ZuperZee ZuperZee merged commit 0ab342c into main Jun 10, 2025
5 checks passed
@ZuperZee ZuperZee deleted the zuperzee/load-declarations-with-on-render branch June 10, 2025 11:10
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.

Type declarations are not loaded when onInit is collapsed

1 participant