Keyboard reference guide
My journey to become a better developer
Keyboard reference guide
Converting a buffer to a base64-string Serializing a buffer (JSON.stringify(buffer)) can increase the content size (JSON.stringify(biuffer).length) a lot. It might be better to convert the…
Jest testing does not find absolute pathsIn jest.config add the path where to start from fe srcmoduleDirectories: [‘node_modules’, ‘src’]
Show adapted files Show adapted file Revert a commit Undo commit to unstaged changes rebase check casesensitive files in show what has been committed on…
Do not use try /catch in a transaction unless you throw the error. Everything you did inside the same transaction is visible to later commands…
Agile: iterative development with self-functioning teams fe Scrum, Kanban Progressive javascript: opt-in features (fe Router, …). React is not really progressive since it does not…
– 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…
Unique constraint When adding a unique constraint with several columns, it is possible to add a duplicate row with null values. CREATE UNIQUE INDEX unique_every…
1. Welke projecten heb je al gedaan in react? Kan je daar iets over vertellen? 2. Wat vond je daar leuk/ niet leuk aan. Waarom…