Posts

Showing posts from January, 2024

technical

< script > // https://www.hellojavascript.info/docs/general-javascript-questions/javascript-fundamentals/arrow-functions // Redux is a global state management, it is used to read data from redux store and to read data we dispatch action to the store. // Redux is a pure function // redux is used when we want to deal with large projects, with large number of states. then we use redux. // Action -> Reducer -> Store // Reducer is a function which takes initial state and action and will return the updated state. // == operator is used to check the value. // === operator is used to check the value as well as the data type // Polymorphism means the same function with different signatures is called many times . In real life, for example, a boy at the same time may be a student, a class monitor, etc. So a boy can perform different operations at the same time. This is called polymorphism. // Different Kinds of Loops -- JavaScript supports different kinds of loops: // for - loops th...