-
Story
-
Resolution: Done
-
Undefined
-
None
-
None
-
None
-
None
-
Quality / Stability / Reliability
-
False
-
-
False
-
3
-
None
-
None
-
OCP Console - Sprint 273
As part of the work on react-router v5 drop, we need to migrate from the createModalLauncher instances in our codebase and we need to use the useModal hook instead.
To use this hook we have to firstly refactor factories/functions where we call on the createModalLauncher instances to a hook/FC form, so that we can migrate to useModal.
One such instance is CommonActionFactory, we should refactor it to its functional equivalent useCommonActionFactory which would wrap the existing list of Actions.
AC:
- refactor CommonActionFactory to hook form.
- consolidate all consumers of CommonActionFactory to use the new hook form instead.