React Hooks must be called in the exact same order in every component render problem?
I have implemented keyboard key or button navigation in a list of items. Locally I don’t get any errors, in the build phase I get the following errors: Error: React Hook "useRef" is called conditionally. React Hooks must be called in the exact same order in every component render. Did you accidentally call a React… Read More React Hooks must be called in the exact same order in every component render problem?