Skip to content

Merge pull request #400 from newfold-labs/enhance/improve-performance #1275

Merge pull request #400 from newfold-labs/enhance/improve-performance

Merge pull request #400 from newfold-labs/enhance/improve-performance #1275

Triggered via push January 9, 2024 12:46
Status Success
Total duration 47s
Artifacts
Run Lint Checks
37s
Run Lint Checks
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
Run Lint Checks: src/OnboardingSPA/components/Loaders/SiteGenLoader/index.js#L24
Assignments to the 'statusIdx' variable from inside React Hook useEffect will be lost after each render. To preserve the value over time, store it in a useRef Hook and keep the mutable value in the '.current' property. Otherwise, you can move this variable directly inside useEffect
Run Lint Checks: src/OnboardingSPA/components/Loaders/SiteGenLoader/index.js#L41
React Hook useEffect has a missing dependency: 'currentData.sitegen.siteGenMetaStatus.totalCount'. Either include it or remove the dependency array
Run Lint Checks: src/OnboardingSPA/components/Loaders/SiteGenLoader/index.js#L49
React Hook useEffect has missing dependencies: 'autoNavigate', 'navigate', and 'nextStep'. Either include them or remove the dependency array
Run Lint Checks: src/OnboardingSPA/components/NewfoldInterfaceSkeleton/SiteBuild/index.js#L104
React Hook useSelect has an unnecessary dependency: 'location.pathname'. Either exclude it or remove the dependency array
Run Lint Checks: src/OnboardingSPA/components/NewfoldInterfaceSkeleton/SiteBuild/index.js#L367
React Hook useEffect has a missing dependency: 'trackChapters'. Either include it or remove the dependency array
Run Lint Checks: src/OnboardingSPA/components/NewfoldInterfaceSkeleton/SiteBuild/index.js#L408
React Hook useEffect has a missing dependency: 'pluginInstallHash'. Either include it or remove the dependency array
Run Lint Checks: src/OnboardingSPA/components/NewfoldInterfaceSkeleton/SiteBuild/index.js#L414
React Hook useEffect has missing dependencies: 'brandConfig?.prioritization' and 'prioritizeFlow'. Either include them or remove the dependency array
Run Lint Checks: src/OnboardingSPA/components/NewfoldInterfaceSkeleton/SiteBuild/index.js#L424
React Hook useEffect has missing dependencies: 'handleConditionalDesignStepsRoutes', 'handlePreviousStepTracking', and 'syncStoreToDB'. Either include them or remove the dependency array
Run Lint Checks: src/OnboardingSPA/components/NewfoldInterfaceSkeleton/SiteGen/index.js#L134
React Hook useEffect has a missing dependency: 'pluginInstallHash'. Either include it or remove the dependency array
Run Lint Checks: src/OnboardingSPA/components/NewfoldInterfaceSkeleton/SiteGen/index.js#L140
React Hook useEffect has missing dependencies: 'generateSiteGenData', 'handlePreviousStepTracking', and 'syncStoreToDB'. Either include them or remove the dependency array