You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When visiting our documentation website https://developer.actyx.com/, the rendering behavior is quite strange (see below clips). The homepage contains custom react components that are then imported in index.js. When visiting the website or reloading it, the components are either rendered not at all with all of the text appearing first and then after a split second the components appear and sometimes one of the components is rendered huge, taking up almost the entire page and after a split second the page is rendered normally again.
You are using Styled-Components on the homepage, and it is producing FOUC because we don't extract the critical CSS of your homepage during the SSR process, and the HTML files don't contain the required styles.
You can see the problem by simply disabling the JavaScript and loading your site.
Unfortunately, we don't support CSS-in-JS yet, and it would require some kind of docusaurus-plugin-styled-components for this to work.
Josh-Cena
added
closed: duplicate
This issue or pull request already exists in another issue or pull request
and removed
bug
An error in the Docusaurus core causing instability or issues with its execution
status: needs triage
This issue has not been triaged by maintainers
labels
Mar 6, 2022
🐛 Bug Report
When visiting our documentation website https://developer.actyx.com/, the rendering behavior is quite strange (see below clips). The homepage contains custom react components that are then imported in
index.js
. When visiting the website or reloading it, the components are either rendered not at all with all of the text appearing first and then after a split second the components appear and sometimes one of the components is rendered huge, taking up almost the entire page and after a split second the page is rendered normally again.Have you read the Contributing Guidelines on issues?
yes
To Reproduce
The page is rendered differently every time, some elements are rendered huge for a split second or not at all and appear at different times.
Expected behavior
The page should be rendered like any other website.
Actual Behavior
https://user-images.githubusercontent.com/23658611/107264007-b9a64700-6a42-11eb-9e0b-4d0b2521b3f1.mov
https://user-images.githubusercontent.com/23658611/107264027-bf9c2800-6a42-11eb-9d63-180a7bc375b8.mov
Your Environment
Reproducible Demo
If possible, use https://new.docusaurus.io to create a CodeSandbox reproducible demo of the bug.
(Paste the link to an example repo, including a
docusaurus.config.js
, and exact instructions to reproduce the issue.)The text was updated successfully, but these errors were encountered: