Blog

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

How to Group State and Pass it Down to Children with React Hooks
Uncategorized

How to Group State and Pass it Down to Children with React Hooks

Sometimes we have a React component that needs to pass many state values to its parent. Sometimes we even have...
Read More
What are the Different Parts of HTML Text Input Elements For (in React and normal HTML)?
Uncategorized

What are the Different Parts of HTML Text Input Elements For (in React and normal HTML)?

The HTML "text" input name For a text input, the name is part of the data sent to the server...
Read More
Uncategorized

How to Add Functions (including useState) to TypeScript Interfaces

I was having trouble finding out how to add functions to TypeScript interfaces. When I finally found out how I...
Read More
Uncategorized

How to avoid the JavaScript error “cannot read property ___ of undefined” without nesting logical AND (&&)

If we're working with pulling data from APIs in JavaScript and React we may encounter the error "cannot read property...
Read More
Uncategorized

How to Add Page Link in WordPress with Page ID

If your page ID is 15, use the following format: <a href="<?php echo get_page_link( 15 ); ?>">Learn More</a>
Read More
1 2 3 11