Sunday, 5 December 2021

React native / React / javascript - must know

1. var, let and const ?

remember that 'let' and 'const' have block level scoping but 'var' have global scope.

2. javascript map function 

https://www.w3schools.com/jsref/jsref_map.asp


3. What is '...' in javascript ? 

https://stackoverflow.com/questions/40124680/what-does-in-react-native-mean


4. async and await - future of async programming at-least for now ?

5. useEffect() , useState() , return what is called when ?

6. useRef(), useCallback(), useMemo ?

https://www.geeksforgeeks.org/react-js-useref-hook/

7. what is '?.' in javascript ?


8. when to use self executive function in javascript ?

8. useEffect vs useFocuseffect and useCallbacks 

https://reactnavigation.org/docs/use-focus-effect/

9. Arrow function =>

10.  Some very useful react native libraries