---
title: "sagyr (@sagyr) | Hashnode"
description: "frontend engineer. Read the latest articles by sagyr on Hashnode."
url: "https://hashnode.com/@sagyr"
---

@sagyr

# sagyr

@sagyr · Bangalore · Joined December 2020

frontend engineer

[Website](https://www.sagyr.xyz/)

### [Machine code round - 1 (Accordian)](https://sagyr.hashnode.dev/machine-code-round-1-accordian?utm_source=hashnode&utm_medium=feed)

accordian component in react export const data = \[ { id: 1, question: "what is ", answer: "sagar", }, { id: 2, question: "what is ", answer: "sagar", }, { id: 3, question: "what is ", answer: "sagar", }...

1 min read · [sagyr.hashnode.dev](https://sagyr.hashnode.dev/machine-code-round-1-accordian?utm_source=hashnode&utm_medium=feed)

[May 9, 2024](https://hashnode.com/posts/machine-code-round-1-accordian/663ca26f8a8e4d4bfc216b57)

### [Understand Next.js in just 5 minutes](https://sagyr.hashnode.dev/understand-nextjs-in-just-5-minutes?utm_source=hashnode&utm_medium=feed)

Understand next.js fundamentals

2 min read · [sagyr.hashnode.dev](https://sagyr.hashnode.dev/understand-nextjs-in-just-5-minutes?utm_source=hashnode&utm_medium=feed)

[May 6, 2024](https://hashnode.com/posts/understand-nextjs-in-just-5-minutes/6638635076e547198feb380f)

### [Component-1](https://sagyr.hashnode.dev/component-1?utm_source=hashnode&utm_medium=feed)

Accordian (With both single select and multi select) Let's build accordion for today's session using react (Focusing mainly functionality than how it looks) If you don't know what Accordian is refer this Accordion

1 min read · [sagyr.hashnode.dev](https://sagyr.hashnode.dev/component-1?utm_source=hashnode&utm_medium=feed)

[May 5, 2024](https://hashnode.com/posts/component-1/663764a77ccc2dc0509da29b)

### [day1 of nextjs](https://sagyr.hashnode.dev/day1-of-nextjs?utm_source=hashnode&utm_medium=feed)

In this series i am documenting how i am understanding nextjs and learning it

4 min read · [sagyr.hashnode.dev](https://sagyr.hashnode.dev/day1-of-nextjs?utm_source=hashnode&utm_medium=feed)

[May 4, 2024](https://hashnode.com/posts/day1-of-nextjs/66361ca253823e44912d4a8b)

### [Implenting Array.reduce() Method from scratch](https://sagyr.hashnode.dev/implenting-arrayreduce-method-from-scratch?utm_source=hashnode&utm_medium=feed)

// normal arr.reduce(callbackfn, initialValue); // callback function with parameters // initialValue maybe 0 or whatever you can give arr.reduce((previousValue, currentValue, currentIndex, array) => { const nextValue = previousValue + currentValue; ...

1 min read · [sagyr.hashnode.dev](https://sagyr.hashnode.dev/implenting-arrayreduce-method-from-scratch?utm_source=hashnode&utm_medium=feed)

[Apr 30, 2024](https://hashnode.com/posts/implenting-arrayreduce-method-from-scratch/66305fa267d3dea7332bb4b4)
