I\'m currently going through my React project looking at where I can convert impure functions into pure functions in order to have less side effects, tidier and more underst