– 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…
1. Welke projecten heb je al gedaan in react? Kan je daar iets over vertellen? 2. Welk niveau vind je zelf dat je hebt? 2.…
THEORY This theory is basically a copy from Reference 1 and Reference 2, but I want to copy it here in case it gets deleted. Shallow Real unit…
Translations/copy Localize – exports to multiple file formats (csv, json, …) – does not allow nested translations Weblate Webgebaseerde voortdurende vertaling i18n (React-intl vs React-intl-universal…
Show time between requests app.use((req, res, next) => { console.log(`${req.method} ${req.originalUrl} [STARTED]`); const getDurationInMilliseconds = (start) => { const NS_PER_SEC = 1e9; const NS_TO_MS =…
1. Create a react project with create react appcreating a new application or from scratch creating from scratch Decide whether or not you want to…
Document reusable components fe storybook Avoid anonymous functions in the render methods of a flatlist, sectionlist, … or in the props of a component because…