Machine code round - 1 (Accordian)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", }...May 9, 2024 · 1 min readsagyr.hashnode.dev
Understand Next.js in just 5 minutesCheck my last post on next.js if you are new There are 4 important things in next.js that makes it special , in this post i will give both analogy and it's real use 1) SSR 2) SSG 3) ISR / ISG 4) CSR Now what are these 1. SSR (Server Side Rendering) A...May 6, 2024 · 2 min readsagyr.hashnode.dev
Component-1Accordian (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 AccordionMay 5, 2024 · 1 min readsagyr.hashnode.dev
day1 of nextjsthis is how i am learning next.js when i first heard about next.js two main things popped up in front of me one is server side rendering and other static site generation , in this particular i will explain it so clear that even after 10 years you'll ...May 4, 2024 · 4 min readsagyr.hashnode.dev
Implenting Array.reduce() Method from scratch// 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; ...Apr 30, 2024 · 1 min readsagyr.hashnode.dev