Project

General

Profile

Actions

Refactor #34038

closed

Replace useState with useReducer for complex state management

Added by Ondřej Ezr over 2 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
-
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

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.

Actions #1

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
Actions #2

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
Actions #3

Updated by Ondřej Ezr over 2 years ago

  • Status changed from Ready For Testing to Closed
Actions

Also available in: Atom PDF