https://javascript.plainenglish.io/4-react-tips-to-instantly-improve-your-code-7456e028cfa3
- return function from handlers
- separate resposibilities [UI Module, Logic/Model module,Lib module]
- use objects map instead of conditions
- put independence variables outside of the React lifecycle