Hello everyone, in this article we’ll learn about Redux.

Welcome to another awesome topic. In this article, you will understand what are the things that you have to know about redux as a beginner.

Everyone thinks that this is a big and difficult topic to understand. But it is not. I will explain everything about what is the redux, what are the usage of it and parts of redux. Another thing is in the final section of this article we’ll implement a counter function with Redux.

Lets jump into the topic!

What is Redux ?

Redux is a JavaScript library that can be used to managing and maintaining the state of our applications…


Basics of React

Hi All!

Today we are going to talk about lifecycles in React.js. React has two types of components which are class components and functional components. In this article, we will look at the lifecycles of class components. To the functional components, I will write another article.

Photo by Abdullah Öğük on Unsplash

So let’s get started.

At first, we should know about what is the lifecycle in a component.

Every person in the world has a lifecycle. They are born, they do studies, they get a job, they get married, they retire from their job, and finally dies. So likewise our React component has a lifecycle…


when you are work with vue.js framework, props are the main feature you have to know. Today I am going to discuss some features of props in vue.js framework.

Lets start…

What is a prop in vue.js?

Props are simply used to pass some data properties to one component from another component. Suppose you wanna pass some data to component B from component A. Here you haven’t any method to directly pass data between components.


figure 1 : Final Projection Histogram

First we have to identify what is the Projection Profile of Binary image. Someimes some image processing projects needs to calculate how many black pixel accurences for each row or each column of the binary image. After get the projection, it can be use for some other operations.

For example, OCR projects needs to segment the lines, words and characters of the handwritten images to recognize the characters. For this segmenting part, they need to identify how is the projection is vary. According to that pattern they can split the main image and segment all the lines, words and characters.

Sachith Sampath Priyashantha

Final year Undergraduate at Faculty of Information Technology, University of Moratuwa, Sri Lanka

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store