A collection of tech notes, personal reflections, and evolving thoughts about whatever’s caught my curiosity.

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.
notes

Scar

28 June 2024

There’s a scar etched on my heart,
Forged by love from ages past.
Yet it makes me brave in the battle,
Brings hope amidst despair,
And guides me forward.

And I want you to know this:
Love is the wound where light flows in.

notes

Thank you for being my magic

17 June 2024

Can we stay in the magic forever? The magic lives in the night we loved each other so much and danced beneath the Mediterranean skies. Yes, the kiss, the stars, and you—everything seemed magical to me.

Thank you for being my magic.

essay

മരണത്തിന്റെ മണം

17 June 2024
ചില വൈകുന്നേരങ്ങളിൽ ഞാൻ മരണത്തിന്റെ മണമുള്ള ഇടനാഴികളിൽ ചെന്ന് പെടാറുണ്ട്...
notes

വഴികാട്ടിയാലുമെന്നെ

9 June 2024

നക്ഷത്രങ്ങൾ നിങ്ങൾ
ഇരുട്ടിൽ ഞാൻ
വഴികാട്ടിയാലുമെന്നെ.

notes

I'll meet you

8 June 2024

I’ll meet you
In the space between darkness and light,
where everything feels divine.

And there, I’ll kiss you
like the very first time,
even after a million times.

essay

Understanding useCallback

5 June 2024
I hope you know what is useMemo and understood that it caches the values between re-renders. `useCallback` is similar to this and it caches a function instead of values...
essay

React Notebook

2 June 2024
An online handbook about React that will cover all the basic topics. Unlike a physical handbook, this online book will evolve over time as I continue to learn and grow.