How do you initiate a state change when using useReducer?
When toggling a boolean state value using useState, which approach is correct?
Imported from external platform