I\'ve added Sindre Sorhus\' unicorn eslint plugin to my TS react project and I\'m stuck with a rule breaking loop when updating state in logic: setSomeState(undefined)
setSomeState(undefined)