Skip to content
theLoneCoder text logo

WHY HAVE FRIENDS WHEN YOU HAVE CODE

  • Home
  • JavaScript
    • React.js
    • Node.js
    • DOM
  • Other
    • Bash/Terminal
    • Resources and Reviews
  • About Me
  • Contact Me
  • Home
  • JavaScript
  • Page 2

Category: JavaScript

All JavaScript articles

React Class Components | React Tutorial for Beginners

Posted on February 10, 2023March 21, 2023 By theLoneCoder 4 Comments on React Class Components | React Tutorial for Beginners
React Class Components | React Tutorial for Beginners
React.js

  In this article you’ll learn how to create React class components. In the previous article in this series, we learned how to make functional components. Class components are similar, except they use JavaScript classes instead of functions. NOTE: While class components are still valid in React, it is recommended to use functional components instead! … Read More “React Class Components | React Tutorial for Beginners” »

React Functional Components | React Tutorial for Beginners

Posted on February 7, 2023March 16, 2023 By theLoneCoder 4 Comments on React Functional Components | React Tutorial for Beginners
React Functional Components | React Tutorial for Beginners
React.js

In the last article, we learned some basic rules of JSX. Here, I’m going to show you how to create functional components in React. Prerequisite Knowledge JavaScript functions, including arrow functions ES6 import/export syntax Basic knowledge of JSX Steps to Creating a Functional Component Create a JS or JSX file Make a function with the … Read More “React Functional Components | React Tutorial for Beginners” »

Basic Rules of JSX | React Tutorial for Beginners

Posted on February 3, 2023February 7, 2023 By theLoneCoder 7 Comments on Basic Rules of JSX | React Tutorial for Beginners
Basic Rules of JSX | React Tutorial for Beginners
React.js

In the last article in this series, we learned how we can quickly create a React application with the create-react-app utility. In this guide, I’m going to introduce you to JSX and explain some of the most basic rules of JSX. Contents Introduction to JSX JSX expressions can only have one top-level element React fragments … Read More “Basic Rules of JSX | React Tutorial for Beginners” »

Create-React-App | React Tutorial for Beginners

Posted on January 31, 2023March 16, 2023 By theLoneCoder 2 Comments on Create-React-App | React Tutorial for Beginners
Create-React-App | React Tutorial for Beginners
React.js

Creating a React application is simpler than ever – all you need is a terminal and access to NPM/NPX. With the release of the create-react-app (CRA) utility, you can get started with react with a single command. In this guide, I’ll show you how to create your first React app with CRA. Prerequisite Knowledge None! … Read More “Create-React-App | React Tutorial for Beginners” »

Introduction to React.js | React Tutorial for Beginners

Posted on January 31, 2023February 7, 2023 By theLoneCoder 5 Comments on Introduction to React.js | React Tutorial for Beginners
Introduction to React.js | React Tutorial for Beginners
React.js

  If you’ve made the decision to learn React, I’m glad for you! Learning React is, in my opinion, one of the best choices you can make as a web developer. If you’re here because you want to learn more about React before committing to it, then that’s awesome too! I’m sure you’ll find that … Read More “Introduction to React.js | React Tutorial for Beginners” »

React useMemo Hook: How to Optimize Your Components’ Speed

Posted on January 30, 2023March 16, 2023 By theLoneCoder No Comments on React useMemo Hook: How to Optimize Your Components’ Speed
React useMemo Hook: How to Optimize Your Components’ Speed
React.js

You can improve both the performance and render speed of your components with the useMemo hook. For large apps or even small ones that make expensive calculations or HTTP requests, the useMemo hook can make a huge difference in the speed of your application. So in this guide, I’m going to explain what situations useMemo … Read More “React useMemo Hook: How to Optimize Your Components’ Speed” »

MERN Stack Roadmap: a Guide for Developers

Posted on January 26, 2023May 2, 2023 By theLoneCoder No Comments on MERN Stack Roadmap: a Guide for Developers
MERN Stack Roadmap: a Guide for  Developers
Bash/Terminal, JavaScript, Node.js, React.js

The MERN technology stack is one of the most popular. It stands for MongoDB, ExpressJS, ReactJS, and NodeJS. As you can imagine, it takes a lot of dedicated learning and persistence to learn that many technologies and frameworks just to develop a full-stack app! In this MERN stack roadmap, I’m going to show you how … Read More “MERN Stack Roadmap: a Guide for Developers” »

How to Create Event Listeners to a React Component

Posted on January 25, 2023 By theLoneCoder No Comments on How to Create Event Listeners to a React Component
React.js

If you’re wondering how to create event listeners in React (and I assume you are) then you’re in for a pleasant surprise – it is surprisingly simple. Here I’ll show you how to add event listeners to React components. To add an event listener to a React component, first write the handler function, then attach … Read More “How to Create Event Listeners to a React Component” »

React: How to Change a Parent Component’s State from a Child Component

Posted on January 25, 2023May 1, 2023 By theLoneCoder No Comments on React: How to Change a Parent Component’s State from a Child Component
React.js

There are many cases in which you will need to change a parent component’s state from a child component. Very often you will have a state that needs to be accessed as well as mutated from many places in your app. This is actually a problem that is also solved by state management libraries such … Read More “React: How to Change a Parent Component’s State from a Child Component” »

MERN Stack vs. MEAN Stack: What’s the Difference?

Posted on January 24, 2023March 16, 2023 By theLoneCoder No Comments on MERN Stack vs. MEAN Stack: What’s the Difference?
MERN Stack vs. MEAN Stack: What’s the Difference?
JavaScript, Node.js, React.js

MERN Stack vs MEAN Stack is a long-running debate. You’ve probably heard of these two popular tech stacks for web applications. With the exponential growth of JavaScript as a full-stack programming language, dozens of different tech stacks are being devised to utilize the new frameworks. But MERN and MEAN remain the most popular. (Along with … Read More “MERN Stack vs. MEAN Stack: What’s the Difference?” »

Posts navigation

Previous 1 2 3 Next
  • YouTube
  • GitHub
  • CodePen
  • Twitter
Substack

Subscribe to theLoneCoder!

Get updates on all new tutorials and blog posts from theLoneCoder.

Thank you!

You have successfully joined our subscriber list.

Recent Posts

  • [FIXED!] apt upgrade: the following packages have been kept back
  • [FIXED!] ReactDOM Deprecation notice | ReactDOM.render vs. createRoot
  • How to Show and Hide React Components (Easy!)
  • How to Write Comments in React/JSX
  • The React useEffect Hook and How to Use it

Categories

  • Bash/Terminal
  • DOM
  • JavaScript
  • Node.js
  • Other
  • React.js
  • Resources and Reviews
  • Home
  • Privacy Policy
  • About Me
  • Contact Me
  • YouTube

Copyright © 2023 theLoneCoder.

Theme: Oceanly News Dark by ScriptsTown