State Management

What is state management

From the previous post we know what is state, now let’s try to understand what is state management.

3 min read

What is state

As frontend developers we keep hearing about state, and it can be confusing to begin with. When I started out I had no clue that such a thing existed. It took me sometime to figure out this state thing. In this post, let’s try and understand what is state.

1 min read

React - Props

What are props?

Props or properties are data passed to a component. A parent component will pass data to a child component as a prop. There are a couple of things to note about Props:

  • props is a keyword in React and cannot be used as a variable name.
  • props are immutable i.e. they are read-only
7 min read

JSX - What is that?

In the last post I briefly mentioned JSX. In this post we will have a detailed view of JSX. So what is JXS? JXS is like a template language or a form of markup like HTML that gets complied to JavaScript code by react. React components are all JavaScript, hence we need something that will help us with the markup for our UI that is where JSX comes in. JSX looks like HTML but is incredibly powerful since it is complied down to JavaScript.

5 min read

Getting started with React

What is react?

React or ReactJS is a component-based JavaScript library for building user interfaces. It is one of the most popular JavaScript UI libraries. Component-based means a complex UI is broken down into small pieces called components. These small components can manage their own state and encapsulate their own logic.

3 min read

jQuery Event Delegation

jQuery Event Delegation allows us to attach an event listener to a parent element, and this event will fire for all descendants matching the selector we pass.

2 min read

Dynamically Add content to DOM using jQuery

I love it when magicians conjure things out of thin air. A dove, a rabbit you name it and it’s there. Sure they have their tricks but what’s amazing is how it’s presented.