Good question, have a look at https://github.com/okonet/lint-staged basically the command I have added in the git hook will ensure that only the committed files are being linted and not the whole code.
That is a great question, well the short answer is you probably wouldn’t need to use useRecucer hook that much. Honestly it depends on your use case. If you have a very complex page which has a lot of UI grouped transitions & you want to be explicit about it you can define your actions and for every action there…
I am not sure what you mean by this. If you are having trouble following along. Here is the final version of the code base https://github.com/adeelibr/react-starter-kit I hope this helps.