– perfomance dev tools > highlight updates – Use memo voor functionele componenten met comparison functie indien niet shallow – Shouldcomponentupdate voor classes – Geen…
My journey to become a better developer
– perfomance dev tools > highlight updates – Use memo voor functionele componenten met comparison functie indien niet shallow – Shouldcomponentupdate voor classes – Geen…
Usereducer with logger unction enchanceDispatchWithLogger(dispatch) { return function (action) { console.groupCollapsed(‘Action Type:’, action.type); return dispatch(action); } } function useReducerWithLogger(…args) { let prevState = useRef(initialState); const…