Skip to content
Menu
Rohit Naik Kundaikar
  • Home
  • Contact
Rohit Naik Kundaikar

Category: Javascript

Typescript Guide – Part 1

Posted on August 2, 2024August 2, 2024 by Rohit Naik Kundaikar

Strict Typecheck To enforce stricter type checking in TypeScript and ensure that developers specify types consistently, you can enable strict type checking by configuring your tsconfig.json file. By setting the strict flag to true, you enable all of TypeScript’s strict type-checking options at once: { “compilerOptions”: { “strict”: true } } Alternatively, if you prefer…

+
Typescript

Redux Toolkit

Posted on September 24, 2021September 24, 2021 by Rohit Naik Kundaikar

First thoughts, not as simple as MobX, but far, far better than using Redux. Yes, Redux Toolkit is much simpler to use than Redux, it overcomes the common issues of using Redux such as. Configuring the redux store is much complicated and often leads to errors. You need to use a lot of add-on libraries…

+
Javascript, ReactJS, Redux Toolkit

Function Declaration, Function Expressions, Function Hoisting, Self Executing Function, Higher-Order Function, Callback Function, or First Class Function and Arrow Functions.

Posted on May 18, 2021 by Rohit Naik Kundaikar

Function Declaration or Statement Function Expressions Function Hoisting A function created using Function Declaration or Statement can be called even before its declaration as shown in below example. However functions created using Function Expression can only be called after it has been declared. This is the key difference between a Function Declaration and Function Expression….

+
Javascript

Spread Operator Usecases {…object} […array]

Posted on May 15, 2021 by Rohit Naik Kundaikar

Spread Operator makes life much easier for JS developers when it comes to doing basic operations on Arrays and Objects. Below are some examples of Spread Operator. Spread Operator Syntax : Array : […array] Object : {…object} Deep Copying Objects and Arrays Concatenating Objects and Arrays Adding new values to Objects and Arrays Spreading Arrays

+
Javascript

Shallow Copy Vs Deep Copy in Java Script

Posted on May 15, 2021June 6, 2021 by Rohit Naik Kundaikar

Shallow Copy When you shallow copy an object there is no new memory space that is allocated to the duplicate object. Thus both original and duplicate object shares the same memory space. As a result of this, changing the attributes in one object changes the attribute in the other. Below is an example of a…

+
Javascript

Javascript Call Stack and Execution Context

Posted on December 26, 2020 by Rohit Naik Kundaikar

Execution Context and Call Stack are important concepts in JS, which if you understand properly would help you make peace with Closure and digest Hoisting. On a separate note, Execution Context is the basis of most of the interview questions. Call Stack The global function in JS is an anonymous function that defines and calls…

+
Javascript

Recent Posts

  • Typescript Guide – Part 1
  • Vite Micro Frontend
  • React Best Practice: Part 2
  • React Best Practices: Part 1
  • Redux Toolkit

Recent Comments

    Archives

    • August 2024
    • January 2024
    • September 2021
    • July 2021
    • June 2021
    • May 2021
    • April 2021
    • December 2020
    • November 2020
    • October 2020
    • September 2020

    Categories

    • Angular
    • API
    • Best Practice
    • Compiler
    • Context
    • DevOps
    • Docker
    • FAANG
    • Forms
    • GraphQL
    • Java
    • Javascript
    • Machine Learning
    • MobX
    • Python
    • ReactJS
    • Redux Toolkit
    • Spring Boot
    • Typescript
    • Uncategorized
    • Vite
    • Webpack
    ©2025 Rohit Naik Kundaikar | Powered by WordPress & Superb Themes