Whether you are doing coding for the first time, or for eons, there is one thing that is the same: There is always more to learn, and more to get stuck on. As you get better, you aim higher, and get stuck again! It can be very frustrating to waste a lot of time on… Continue reading If you are stuck with a React or JS problem here are 3 great communities to help, and how to ask for it
You are using create-react-app and it’s awesome. It’s taking care of a bunch of tools for you behind the scenes so you can get on with coding your React app. You’ve seen this eject feature and your are curious, what doe this do, and should I use it? You’ve read that it makes package.json more… Continue reading What does eject do in create-react-app
In React, the way you do code with class components vs. hooks is completely different. If you are used to classes, things you are comfortable with no longer work like that. For example: you need to keep hold of an object for the lifetime of your component. How to do that with hooks? This is… Continue reading How to create an object and hang onto it for the life of a component using hooks.
If you have used create-react-app to start a React project it is a piece of magic! It will set up everything you need to start you next React Project. But it does leave some questions. What is it doing behind the scenes. Why does it have 100Mb or more of dependencies? Is it using lot’s… Continue reading Setting up a React Project, when to use create-react-app, vs. a DIY approach.
If you are like me, you are used to typed languages like C# that use types, and so what the advantages and familiarity of types in your front end code. However for many people, they can be thrust onto a TypeScript codebase at work, or when say working on an open source project, with no… Continue reading The benefits of using TypeScript for React
Just wanna see 🤤? Here is a link to a demo of the app I have a new approach to making side projects, which is to keep them pretty small and simple, so there is a hope of ever completing them. Also it’s good to make them useful, so that at least I might get… Continue reading An Example Birthday App, using React & Typescript
This is the million dollar React question for beginners. You can’t dig into React without hearing a lot about Redux. However for many people who start learning, it can make no sense, they can’t understand it, or if they do it just seems like boilerplate code. Let’s explore if you need to learn it, and… Continue reading Do I have to learn Redux?
I saw this question on Reddit recently: “I’m currently writing an app that will apply a $25 fee amongst others that are depending on if the checkbox is checked or not. It’ll add the fee if it’s checked, but if the check is removed afterwards it’ll still keep the fee added on, how can I… Continue reading How to update fees in your React shopping cart based on check boxes.
If you use Node Package Manager to do React work and you are running npm ls then the chances are you are debugging some horrible issue to do with dependencies. You want to quickly sort this thing out and move on to the next thing. The ouput of npm ls can be confusing, so let’s… Continue reading What does `npm ls` show me? And why is React in there multiple times?
Hey folks. There are alot of React courses out there, and a lot of them suck for various reasons. A problem with all tech courses is they go stale – the code that worked in April 2019 no longer works because things have moved on. The concepts they teach are no longer modern. And many… Continue reading Need a comprehensive React course that is modern, and with code that isn’t broken? This is the course I recommend in 2020.