Essays, poems, and personal reflections from the desk and drawer.

notes

Walking

14 October 2024

Walking brings clarity to your thoughts.

essay

About this digital garden

8 October 2024

This website is where I document and share pieces of my life my thoughts, photos, code snippets, and notes collected along the way...

notes

Answers

7 October 2024

Create your own answers.

notes

Write it down

5 October 2024

By writing down your problems, you’ll be able to see the solutions clearly.

essay

Understanding useRef

2 October 2024

useRef is a powerful React Hook that allows you to create and manage mutable references that persist between renders, Unlike state, changing the value of a useRef object does not trigger a re-render...

essay

പ്രകാശഗോപുരങ്ങൾ

23 September 2024

മനോഹരമായ വൈകുന്നേരമൊരു കവിതയെഴുതിയാലോന്ന് തോന്നി.

notes

ഭ്രമണം

13 September 2024

പ്രകാശത്തിന്റെ പകലിൽ
മഞ്ഞവെളിച്ചങ്ങളുടെ ഇരുട്ടിൽ
ഓർമ്മകളുടെ പെയ്ത്തിൽ
നിശ്വാസങ്ങളുടെ ഇടന്നേരങ്ങളിൽ

നിങ്ങളിലാണ് ഞാൻ
ഭ്രമണം ചെയ്യുന്നത്.

notes

Higher order functions

20 August 2024

A higher order function is a function that takes one or more functions as arguments, or returns a function as its result.

These functions are powerful because they allow you to abstract and compose operations in a flexible and reusable way. They are a fundamental concept in functional programming.

Common examples of higher order functions are .map(), .filter(), and reducer().

.map(): Takes a function as an argument and applies it to each element in an array, returning a new array with the results.

const numbers = [1, 2, 3, 4];
const doubled = numbers.map(num => num * 2);
console.log(doubled); // [2, 4, 6, 8]
References

Namaste JS, FreeCodeCamp

essay

Tiny React Apps

15 August 2024

This is a collection of tiny apps built with React, designed to explore and learn React along with its associated libraries. Each project serves as a hands-on experiment to try out new features and deepen understanding of the React ecosystem.