Blog

Welcome to my blog! I love writing about things I have learned to deepen and share my knowledge.

Mind of React: Should I Add an Item to State, or a Variable in render()?

Mind of React: Should I Add an Item to State, or a Variable in render()?

When gardening, you go to the shed, and in your bucket of garden tools, you see a medium sized garden...
Read More
How to pass a function to a child component in React.

How to pass a function to a child component in React.

In React, passing a function to a child component can easily be done by passing the function as a prop...
Read More
QuickSort: A fascinating algorithm for your immediate array sorting.

QuickSort: A fascinating algorithm for your immediate array sorting.

When our room is a mess and we're tired of cleaning, sometimes we just wave a wand, and everything sorts...
Read More
Managing React State: Why calling state at the right time  makes for a wonderful walk in the park

Managing React State: Why calling state at the right time makes for a wonderful walk in the park

You and your best friend made an appointment to meet for a walk in the park, and then you rescheduled...
Read More
React Lifecycle: Why componentDidMount() is great for a smooth API call

React Lifecycle: Why componentDidMount() is great for a smooth API call

When you are buying groceries to make dinner, you can't start preparing the ingredients - chopping the onions, washing the...
Read More
1 13 14 15 16 17