Blog

All the latest posts

  • Session in SQLAlchemy ORM

    Session is a core part of any database ORM. It abstracts away the handling of transactions ins database using session object. This makes it easier to manage ORM objects. This article explains simply about session in general and how you can use it.

    Read More →
  • What does it mean for a component to be mounted in ReactJS ?

    For a component to be mounted in ReactJS it means to be initialized and inserted in the DOM. Mounting is the initial phase in which the instance of the component is created and inserted into the DOM. When the component gets successfully inserted into the DOM, the component is said to be mounted

    Read More →
  • How to use Git Blame?

    Understanding the history of changes in a codebase is important for effective collaboration and maintenance. One powerful tool in Git for this purpose is git-blame. git-blame is a Git command that annotates each line in a file with information about the last commit that modified the line

    Read More →
  • How does TypeScript support optional parameters in function as every parameter is optional for a function in JavaScript?

    Optional parameters are those parameters whose value may or may not be provided as an argument during the function call. Their value is set to undefined when they are not provided as an argument. It is different from a default parameter for which we need to provide a default value at the time of defining the function.

    Read More →