Closed rustyjux closed 3 months ago
Apparently adding return null to the useEffect() fixes the component render cycle and may be preventing the component from mounting and unmounting unpredictably before.
return null
useEffect()
Worked 10x in a row in docker compose where it was frequently failing before.
docker compose
🚀 Feature branch deployment: https://api-services-portal-feature-ns-to-gw-redirect.apps.silver.devops.gov.bc.ca
Apparently adding
return null
to theuseEffect()
fixes the component render cycle and may be preventing the component from mounting and unmounting unpredictably before.Worked 10x in a row in
docker compose
where it was frequently failing before.🚀 Feature branch deployment: https://api-services-portal-feature-ns-to-gw-redirect.apps.silver.devops.gov.bc.ca