lauratodd.hashnode.dev·Jul 25, 2022 · 4 min readUsing the useContext hook in ReactSometimes when you're building an app in React, it can be difficult to pass props from one component to another without prop drilling. One of the in-built tools that React has to tackle this issue is the useContext hook. The React's Context allows yo...00
lauratodd.hashnode.dev·Jun 2, 2021 · 3 min readA Really Simple Intro to Changing Styling Using React StateWhen using React, one of the easiest ways to make style changes to an element on an event is by using state. In this example, we'll be looking at how we can change the corners of a button from pointed to rounded on click. I know this isn't something ...00
lauratodd.hashnode.dev·May 26, 2021 · 2 min readA Really Simple Intro to Using Props in ReactProps are an incredibly useful tool when working with React so it's worth spending some time getting used to them. Props are a way of sending data down the component tree from a parent to a child component. I'll take you through a really simple examp...01C
lauratodd.hashnode.dev·May 1, 2021 · 2 min readA Really Simple Intro to React RouterIf you want to create a multi-page React app, the easiest way to navigate between pages is by using React Router. In this post I’ll take you through the steps of setting up a navbar for a simple app. We’ll start off with three different components wh...00
lauratodd.hashnode.dev·Apr 24, 2021 · 3 min readThe Best Web Development Challenge WebsitesI've become a bit addicted to Web Development Challenge sites. It's a great way to practice the things you already know, learn new ways of solving problems and to prepare for interviews. Some sites charge to use them but in this post I'll take you th...00