Bug #19541

FE - React - WS call multiple time after leave the page

Added by chok yee fan 12 months ago. Updated 11 months ago.

Status:ClosedStart date:22 January 2024
Priority:NormalDue date:
Assignee:chok yee fan% Done:

0%

Category:-Spent time:-
Target version:-

Description

issue
-----
Currently the page will call web service after leave the page.

expected
-----
Currently the page SHOULD NOT call web service after leave the page.

History

#2 Updated by chok yee fan 12 months ago

  • Assignee changed from chok yee fan to Amirul Umar Pandai

Please apply it into your department module since is different coding pattern from others.

#3 Updated by Amirul Umar Pandai 12 months ago

  • Status changed from New to Resolved
  • Assignee changed from Amirul Umar Pandai to chok yee fan

Committed together with project-wide changes (search DepartmentForm.tsx and DepartmentSearch.tsx for fix for this issue)


useEffectOnce + useLanguageChanged custom hook

https://dev.silverlakemobility.com/gitlab/mleb-solution-domain/smesd100/mleb-iam/-/commit/f1d3d62434b13f80bab35926265f33721e10876f

#4 Updated by chok yee fan 11 months ago

  • Status changed from Resolved to Closed

working as expected

Also available in: Atom PDF