---
title: "Rahul Kumar (@RahulKumar1) | Hashnode"
description: "Rahul Kumar (@RahulKumar1) writes on Hashnode. Read their latest articles and follow their work."
url: "https://hashnode.com/@RahulKumar1"
---

@RahulKumar1

# Rahul Kumar

@RahulKumar1 · Joined May 2022

### [Practice question For Functional programming in JS LEVEL \`1\`](https://rahul319.hashnode.dev/practice-question-for-functional-programming-in-js-level-1?utm_source=hashnode&utm_medium=feed)

Problems using map(), filter() and reduce(). Q1. Write an ES6 function that takes an array of numbers and returns an array with each number incremented by 3 using the map method. // Your ES6 function here const incrementNumbers = (numbers) => { ret...

5 min read · [rahul319.hashnode.dev](https://rahul319.hashnode.dev/practice-question-for-functional-programming-in-js-level-1?utm_source=hashnode&utm_medium=feed)

[Mar 8, 2024](https://hashnode.com/posts/practice-question-for-functional-programming-in-js-level-1/65eafd45929a13e2061ca931)

### [Interview Questions related to reduce() in js.](https://rahul319.hashnode.dev/interview-questions-related-to-reduce-in-js?utm_source=hashnode&utm_medium=feed)

What is the purpose of the reduce() function in JavaScript? The reduce() function is used to reduce an array to a single value. It applies a function against an accumulator and each element in the array (from left to right) to reduce it to a single ...

3 min read · [rahul319.hashnode.dev](https://rahul319.hashnode.dev/interview-questions-related-to-reduce-in-js?utm_source=hashnode&utm_medium=feed)

[Mar 8, 2024](https://hashnode.com/posts/interview-questions-related-to-reduce-in-js/65eafc7b00ccb76a92713c31)

### [Props, props drilling and useContext Hook](https://rahul319.hashnode.dev/props-props-drilling-and-usecontext-hook?utm_source=hashnode&utm_medium=feed)

What is Props? Props stands for properties. Props are used to transferdata from one component to other another. Props are read-only. Props are just like a function in JavaScript. Example of Props: App.jsx import React from 'react'; import './Ap...

6 min read · [rahul319.hashnode.dev](https://rahul319.hashnode.dev/props-props-drilling-and-usecontext-hook?utm_source=hashnode&utm_medium=feed)

[Mar 7, 2024](https://hashnode.com/posts/props-props-drilling-and-usecontext-hook/65e98543eedf69095f63a321)

### [Setting up MongoDB Using Compass For your project.](https://rahul319.hashnode.dev/setting-up-mongodb-using-compass-for-your-project?utm_source=hashnode&utm_medium=feed)

Step 1. Go to MongoDB's official website i.e. https://www.mongodb.com/ Click on try free and create your account. Step 2. After Sign in, you will land on this page Just select Free M0, provider, region, and Name as per your preferences, As yo...

2 min read · [rahul319.hashnode.dev](https://rahul319.hashnode.dev/setting-up-mongodb-using-compass-for-your-project?utm_source=hashnode&utm_medium=feed)

[Feb 13, 2024](https://hashnode.com/posts/setting-up-mongodb-using-compass-for-your-project/65cb1beb6316ff74935f2971)

### [Mastering Props and State in Reactjs](https://rahul319.hashnode.dev/mastering-props-and-state-in-reactjs?utm_source=hashnode&utm_medium=feed)

All about Props and State.. Why do we need props and a state? → In real-time applications, Components must deal with dynamic data. → Data could be something internal to a component or maybe passed from another component. So to bind the data to the c...

5 min read · [rahul319.hashnode.dev](https://rahul319.hashnode.dev/mastering-props-and-state-in-reactjs?utm_source=hashnode&utm_medium=feed)

[Jan 25, 2024](https://hashnode.com/posts/mastering-props-and-state-in-reactjs/65b1f41f2ea320a50e102875)
