Skip to content

perf: lazy-load Algolia DocSearch to reduce initial bundle size and eliminate render-blocking CSS - #5673

Open
patilpratik1905 wants to merge 1 commit into
asyncapi:masterfrom
patilpratik1905:perf_enh/lazyLoad_AlgoliaDocSearch
Open

perf: lazy-load Algolia DocSearch to reduce initial bundle size and eliminate render-blocking CSS#5673
patilpratik1905 wants to merge 1 commit into
asyncapi:masterfrom
patilpratik1905:perf_enh/lazyLoad_AlgoliaDocSearch

perf: lazy-load DocSearchModal and CSS to improve initial page load p…

5cc7bf6
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded Jul 31, 2026 in 29s

Annotations

Check warning on line 287 in components/AlgoliaSearch.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-2tu0BX1qv0iLRvOfH&open=AZ-2tu0BX1qv0iLRvOfH&pullRequest=5673

Check warning on line 384 in components/AlgoliaSearch.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer using an optional chain expression instead, as it's more concise and easier to read.

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

Check warning on line 346 in components/AlgoliaSearch.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

The object passed as the value prop to the Context provider changes every render. To fix this consider wrapping it in a useMemo hook.

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