Actions
Refactor #34038
closedReplace useState with useReducer for complex state management
Difficulty:
Triaged:
No
Description
useState with complex state doesn't work for some reason with react testing library.
useHook is bit more readable and works better with tests.
Updated by Ondřej Ezr over 2 years ago
- Subject changed from Replace useState with useHook for complex state management to Replace useState with useReducer for complex state management
Updated by The Foreman Bot over 2 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/foreman_ansible/pull/490 added
Updated by Ondřej Ezr over 2 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset foreman_ansible|3edc91ce9314151b458eded91966d9262a933245.
Actions