Skip to content

perf: lazy-load Mermaid, YouTube, and TwitterTweetEmbed (#5667, #3186) - #5679

Closed
lena2099 wants to merge 4 commits into
asyncapi:masterfrom
lena2099:perf/lazy-load-heavy-components
Closed

perf: lazy-load Mermaid, YouTube, and TwitterTweetEmbed (#5667, #3186)#5679
lena2099 wants to merge 4 commits into
asyncapi:masterfrom
lena2099:perf/lazy-load-heavy-components

perf: lazy-load Mermaid, YouTube, and TwitterTweetEmbed (#5667, #3186)

b1b7dfb
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded Aug 1, 2026 in 46s

Annotations

Check failure on line 58 in components/MDX/MermaidDiagram.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer `.dataset` over `getAttribute(…)`.

See more on https://sonarcloud.io/project/issues?id=asyncapi_website&issues=AZ-_vuFl_sm3M2mr0vci&open=AZ-_vuFl_sm3M2mr0vci&pullRequest=5679

Check warning on line 4 in components/MDX/MDX.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this unused import of 'useState'.

See more on https://sonarcloud.io/project/issues?id=asyncapi_website&issues=AZ-_vuA__sm3M2mr0vcg&open=AZ-_vuA__sm3M2mr0vcg&pullRequest=5679

Check failure on line 90 in components/MDX/MermaidDiagram.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer `.dataset` over `getAttribute(…)`.

See more on https://sonarcloud.io/project/issues?id=asyncapi_website&issues=AZ-_vuFl_sm3M2mr0vcj&open=AZ-_vuFl_sm3M2mr0vcj&pullRequest=5679

Check warning on line 49 in components/MDX/MermaidDiagram.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Mark the props of the component as read-only.

See more on https://sonarcloud.io/project/issues?id=asyncapi_website&issues=AZ-_vuFl_sm3M2mr0vch&open=AZ-_vuFl_sm3M2mr0vch&pullRequest=5679

Check warning on line 4 in components/MDX/MDX.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this unused import of 'useEffect'.

See more on https://sonarcloud.io/project/issues?id=asyncapi_website&issues=AZ-_vuA__sm3M2mr0vcf&open=AZ-_vuA__sm3M2mr0vcf&pullRequest=5679