Uncategorized

Essential JS for React: Understanding callbacks and arrow syntax

If you are new to JavaScript and React, the syntax can be confusing. You might not know if you are dealing with “React” syntax or “JavaScript” syntax, and it can be hard then to get answers. One place this crops up alot is with the => syntax used for arrow functions (also called lambda). You …

Essential JS for React: Understanding callbacks and arrow syntax Read More »

How to avoid API requests getting called repeatedly in your React component

If you have a React class component OR functional component, and are using fetch, axios, etc. to make a call to the server, you may want to only do that once when the component is created. This is easy to set up for both class components and function components. If you stumbled across this problem …

How to avoid API requests getting called repeatedly in your React component Read More »

useEffect hook not working right? Here are a couple of things you can check.

You can’t figure out why the UI is not updating as it should, and you’ve tried console.log and F12 and are still none the wiser. Wouldn’t it be nice if you could get past this and build and show off beautiful apps instead. This list of common misunderstandings and how to over come them will …

useEffect hook not working right? Here are a couple of things you can check. Read More »

How to increase your React experience from zero, and work towards a job using React.

Web tech is moving fast, but your job might have you using old technology stacks, or just building sites using a CMS. Or perhaps you are a team lead who doesn’t have the time to keep up. How do you get experienced in React if you can’t do it at work, and make yourself marketable …

How to increase your React experience from zero, and work towards a job using React. Read More »

If you are stuck with a React or JS problem here are 3 great communities to help, and how to ask for it

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 …

If you are stuck with a React or JS problem here are 3 great communities to help, and how to ask for it Read More »

How to create an object and hang onto it for the life of a component using hooks.

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 …

How to create an object and hang onto it for the life of a component using hooks. Read More »