-
Job experience
- React
- React Native
-
Javascript basics
-
Context, Bind, Call, Apply
const obj = { foo: 'bar', arrowFunc: () => { console.log('1.foo = ', this); }, func() { console.log('2.foo = ', this.foo); return () => { console.log(this); }; }, }; obj.arrowFunc(); // 1. obj.func(); // 2. obj.func()(); // 3.
-
Hoisting
console.log('test var ', testvar); console.log('test const ', testconst); console.log('test let ', testlet); var testvar = 'foo'; const testconst = 'const'; let testlet = 'let'; const a = 'a'; const func = () => { console.log(a); const a = 'test'; }; func();
-
Closures
for (var i = 0; i < 10; i++) { setTimeout(() => { console.log(i); }, 0); }
-
Event Loop
-
Pure functions
-
-
Typescript
- Return type of function
- How to get interface field type
- Conditionals types
-
React / React Native
- React Hooks
- UseEffect
- UseCallback
- UseRef
- UseState
- UseMemo
- UseLayoutEffect
- React.memo HOK
- Pure components
- React Hooks
-
Git
- Commit ammend
- Rebase vs Merge
- Cherry pick
-
Algorithm tasks