Geotab Interview Question

Add a button in a React app that increments counter

Interview Answer

Anonymous

Nov 20, 2024

UseEffect hook to create new state for counter and button click increments the state.