23-Apr-2024

Heap Out Of Memory? Here Are 10 Ideas To Get You Out Of Trouble


Encountering a "JavaScript heap out of memory" error typically indicates that a JavaScript application has exhausted the memory available to it. Here are some common solutions: Increase Memory Allocation: You can allocate more memory to Node.js by…


node, nodejs, javascript

08-Apr-2024

State Management In A Weather App using GatsbyJS, TypeScript, Recoil and React!


Introduction In the previous article we looked at using coordingates to get weather data. This post looks at the state which is used to store the retrieved data. Buckle up. This is going to be a bumpy ride. src/content-apps/weather/constants/index.ts…


weather app tutorial

14-Feb-2024

Use Coordinates To Get The Forecast In A Weather App with GatsbyJS, TypeScript, Recoil and React!


Introduction In a previous article we looked at passing coordingates into a couple of “dumb components”. What these components really do we will look at in a bit more detail here. This post details the hook used in the src/content-apps/weather/data…


weather app tutorial

12-Feb-2024

Use Coordinates To Get The Location Name In A Weather App with GatsbyJS, TypeScript, Recoil and React!


Introduction In the previous article we looked at passing coordingates into a couple of “dumb components”. What these components really do we will look at in a bit more detail here. This post details the hook used in the src/content-apps/weather/data…


weather app tutorial

05-Feb-2024

Utilizing Geo-Location Coordinates In A Weather App with GatsbyJS, TypeScript, Recoil and React!


Introduction In the previous article we looked at interrogating the browser for geo-location coordinates. Assuming the user provides permission to the browser to provide their coordinates to this app, and there are no errors, we will have coordinates…


weather app tutorial

30-Jan-2024

Working With Geo-Location In A Weather App with GatsbyJS, TypeScript, Recoil and React!


Introduction When we are interested in weather, we usually want to know about the weather in our local area. Outside for instance. For this, we need to know our geographic location. And for that, we need to find out where that is. Luckily, browsers…


weather app tutorial

20-Dec-2023

Let’s Get Started Building A Weather App with GatsbyJS, TypeScript, Recoil and React!


Introduction Building an internet hosted weather app is a useful way to learn how to consume an API endpoint. If you can consume a public api like this, then you can work with a back end developer who is providing data to you from a database for…


weather app tutorial

08-Dec-2023

A Beginner’s Guide to Building a Weather App with GatsbyJS, TypeScript, Recoil and React!


Introduction Hey there, budding developers! Are you ready to dive into the world of TypeScript and React and build something truly awesome? Well, you're in for a treat because, in this tutorial, we're going to create a fantastic weather app together…


weather app tutorial

24-Oct-2023

Building the Todo View Components with TypeScript, ReactJS, Recoil, and Chakra-UI


Introduction Building a Todo application is a logical way to delve into the world of modern web development. Now we’ll look at building out the view components of the Todo app, exploring how to construct it using a powerful tech stack: GatsbyJS…


todo app tutorial

20-Sep-2023

Building Out The Actions In Detail In A ToDo App


Introduction Building a Todo application is a logical way to delve into the world of modern web development. In this guide, we’ll introduce the concept of actions. Our powerful tech stack: GatsbyJS, TypeScript, ReactJS, Recoil, and Chakra-UI. Click…


todo app tutorial

01-Sep-2023

Building Out The Actions In A ToDo App


Introduction Building a Todo application is a logical way to delve into the world of modern web development. In this guide, we’ll introduce the concept of actions. Our powerful tech stack: GatsbyJS, TypeScript, ReactJS, Recoil, and Chakra-UI. Click…


todo app tutorial

30-Aug-2023

Building a Todo Application State With Recoil and TypeScript


Introduction Building a Todo application is a logical way to delve into the world of modern web development. In this guide, we’ll focus on the necessary state files of your Todo app in the context of this powerful tech stack: GatsbyJS, TypeScript…


todo app tutorial

28-Aug-2023

Building a Todo Application Index File with TypeScript, ReactJS, Recoil, and Chakra-UI


Introduction Building a Todo application is a logical way to delve into the world of modern web development. In this guide, we’ll focus on the pivotal index file of your Todo app, exploring how to construct it using a powerful tech stack: GatsbyJS…


todo app tutorial

25-Aug-2023

Unleash Your Productivity with Our Upcoming Todo App Tutorial! 🚀


Introduction Are you tired of juggling multiple tasks and struggling to stay organized? Is your productivity taking a hit because of scattered thoughts and forgotten to-dos? Fret not, because we have an exciting solution coming your way! Introducing…


todo app tutorial

09-Aug-2023

Build a Tik Tok Bio in chakra-ui for React


What you will be building Please check this link: Tik Tok Bio This app uses components from Chakra UI. You should check it out. What you will need in your Gatsby set up Make sure you have a page called tik-tok-bio.js (or extension ts if you prefer…


react plus typescript

23-Jul-2023

Gatsby And Browser Console Errors In Production


What The Hell?!? So you have published your website to Netlify and everything is going super smoothly. Then, you turn on Prerendering (you can find this feature hidden in “Build and deploy” in your Site Configuration settings). This feature is in…


gatsbyjs plus javascript

21-Jul-2023

Game Action - Set Clear All Rock Paper Scissors


What you will be building Please check this link: Rock Paper Scissors Game This app uses components from Chakra UI. You should check it out. Reference We first looked at setClearAll here. Let’s get going. actions/set-clear-all.ts Our Imports We need…


typescript plus react

19-Jul-2023

Game Action - Set Clear Game Rock Paper Scissors


What you will be building Please check this link: Rock Paper Scissors Game This app uses components from Chakra UI. You should check it out. Reference We first looked at setClearGame here. Let’s get right into it. actions/set-clear-game.ts Our…


typescript plus react

17-Jul-2023

Game Action - Get Result Rock Paper Scissors


What you will be building Please check this link: Rock Paper Scissors Game This app uses components from Chakra UI. You should check it out. Reference We first looked at setDecisionComputer here. Let’s get right into it. actions/get-result.ts First…


typescript plus react

14-Jul-2023

Game Action - Computer Decision Rock Paper Scissors


What you will be building Please check this link: Rock Paper Scissors Game This app uses components from Chakra UI. You should check it out. Reference We first looked at setDecisionComputer here. actions/set-decision-computer.ts But What Does It Do…


typescript plus react

10-Jul-2023

Game Action - User Decision Rock Paper Scissors


What you will be building Please check this link: Rock Paper Scissors Game This app uses components from Chakra UI. You should check it out. Reference We first looked at setDecisionUser here. actions/set-decision-user.ts But What Does It Do? The…


typescript plus react

05-Jul-2023

Game View - Game Controls Resets Rock Paper Scissors


What you will be building Please check this link: Rock Paper Scissors Game This app uses components from Chakra UI. You should check it out. Introduction This is one of the more complicated view components in that it includes game controllers. Rather…


typescript plus react

03-Jul-2023

Game View - Game Results Rock Paper Scissors


What you will be building Please check this link: Rock Paper Scissors Game This app uses components from Chakra UI. You should check it out. Let’s get right into it. Here is the file you will need. view/results.tsx Imports First we import React of…


typescript plus react

29-Jun-2023

Game View - Computer Rock Paper Scissors


What you will be building Please check this link: Rock Paper Scissors Game This app uses components from Chakra UI. You should check it out. Displaying the Computer Consider the following code: view/computer.tsx What This Seems Simple Well, it is…


typescript plus react

27-Jun-2023

Game View - User Rock Paper Scissors


What you will be building Please check this link: Rock Paper Scissors Game This app uses components from Chakra UI. You should check it out. Displaying the User This file is going to require assets from a new package which is ‘@react-icons/all-files…


typescript plus react

23-Jun-2023

Game View - Game Players Rock Paper Scissors


What you will be building Please check this link: Rock Paper Scissors Game This app uses components from Chakra UI. You should check it out. Displaying The Players There are two players in Rock Paper Scissors. One player is an ‘AI’ in this case. LOL…


typescript plus react

19-Jun-2023

Game View - Game Play Heading Rock Paper Scissors


What you will be building Please check this link: Rock Paper Scissors Game This app uses components from Chakra UI. You should check it out. Game Play Heading The game play heading is distinct from the game heading. The game heading is simply a page…


typescript plus react

12-Jun-2023

Game View - Game Wrapper Rock Paper Scissors


What you will be building Please check this link: Rock Paper Scissors Game Game Wrapper The game wrapper is a simple view component used to provide an encasement around a few other components. view/wrapper.tsx file The only thing particularly special…


typescript plus react

05-Jun-2023

Game View - Game Heading Rock Paper Scissors


What you will be building Please check this link: Rock Paper Scissors Game Game Heading Every page needs a heading right? Well, so does this page. Here we have created a very basic heading using the Heading component from Chakra UI. This page uses a…


typescript plus react

31-May-2023

Game Entry Rock Paper Scissors


What do I mean by entry? This is a description of the game’s root file. Its home page. Its index.html. Except in this case, it is an index.tsx file. So in your react project, you will need to create a file like this. What you will be building Please…


typescript plus react

26-May-2023

Game State Rock Paper Scissors


In The Beginning… Everyone needs to start somewhere right? Well, at the end of this series we will have a working rock-paper-scissors game. We will be using TypeScript (which is really JavaScript with a typing overlay), and React. What you will be…


typescript plus react

19-May-2023

Gatsby’s Wrap Page Element


Gatsby’s wrapPageElement exists in both the browser and server side rendering APIs. This means that you’ll want to add the wrapPageElement to both the gatsby-browser.js/ts file and to the gatsby-ssr.js/ts file. This guide looks at the gatsby-ssr.js…


gatsbyjs plus javascript

15-May-2023

Gatsby’s Wrap Root Element


Gatsby’s wrapRootElement exists in both the browser and server side rendering APIs. This means that you’ll want to add the wrapRootElement to both the gatsby-browser.js/ts file and to the gatsby-ssr.js/ts file. This guide looks at the gatsby-ssr.js…


gatsbyjs plus javascript

05-May-2023

Lint In The Machine


This article is assuming you are using Visual Studio Code as your text editor when coding. There are other text editors that are suitable for coding. If you use them, you are dead to me. Just kidding. We just can’t be friends. Prettier and ESLint are…


eslint plus prettier plus reactjs

03-May-2023

Welcome to be-a-react-dev


Welcome to the world of TypeScript and ReactJS here at be-a-react-dev! These two technologies are a match made in heaven for developers who want to build scalable and maintainable web applications. ReactJS is a popular JavaScript library used for…


typescript plus react