Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix lazy-loading of APIDoc #308

Open
cmil opened this issue Sep 21, 2024 · 1 comment
Open

Fix lazy-loading of APIDoc #308

cmil opened this issue Sep 21, 2024 · 1 comment

Comments

@cmil
Copy link
Member

cmil commented Sep 21, 2024

When navigating to the API page (/doc/api) for the first time after the frontend has been loaded the error

A component suspended while responding to synchronous input. This will cause the UI to be replaced with a loading indicator. To fix, updates that suspend should be wrapped with startTransition.

occurs and the page is not rendered. The page renders when reloading the /doc/api route though.

cmil added a commit that referenced this issue Sep 21, 2024
This caused the "Error: A component suspended while responding to synchronous input.
This will cause the UI to be replaced with a loading indicator. To fix, updates that suspend
should be wrapped with startTransition."

see #308
@cmil
Copy link
Member Author

cmil commented Sep 21, 2024

Aș preliminary fix we do not lazy-load APIDoc for now. We should find a way to enable it again though.

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

No branches or pull requests

1 participant