Beginners walkthrough to iterate over a JS Object
Hi all! This blog is meant to fill out my blog tutorial workout from last week. Join me in this part two of the Learning React Test-Driven Development Tutorial, and we will continue to dive deeper into Test-Driven-Development. Along the way, we will add more tests and more functionality to capture the state within our React Login Form app.
If you are just stumbling upon Part II of my tutorial walkthrough, please click on this link to find the first part of this blog.
Without further ado, here goes!
Step 1. In LoginForm.test.js, add another test on line 17, This…
Many apps have been made and conquered, but let’s get down to it and ask a real question here. Does your app include tests? Do you know how to implement tests? Having learned React from a coding school, I will say I have not yet stumbled upon building tests into my work yet. So, I thought you know what, no time like the present, let’s do this!
Implementing test-driven development into our apps can ensure higher quality code, better program design, and can most definitely save projects costs in the long run.
Spending the time to implement tests into your…
Beginner’s Ruby knowledge, with a focus on variable scope.
Hey there my coding friends. Today, I thought I’d talk about the coding language Ruby. For anyone out there who just started learning it or is interested in learning the language, this blog is for you! So listen up! I will mainly focus on Ruby variables and getting to know the different types. Let’s unveil this Ruby mystery!
Ruby got its roots in the mid-1990s, where it was created by Yukihiro “Matz” Matsumoto in Japan. It’s dynamically typed and can support multiple programming paradigms like functional, object-oriented, and procedural programming.
Let’s take a gander into React and talk about components. If you have used React before you should be familiar with components. One of the main features of React is components, and React supports two kinds: controlled and uncontrolled. Let’s uncover the main differences between controlled and uncontrolled components.
The React docs recommend using controlled components over uncontrolled ones. Controlled components are used to implement forms. In a controlled component, form data is handled by a React component. The state within that component acts as the “single source of truth” for any inputs that are rendered by the component.
Understand what arrow functions are and when it’s best to use them.
Beginner’s Guide to HTTP Status Codes.
Let’s get a little more close and personal with HTTP error codes. As a developer, when we are building out our web applications we are bound to encounter them, and of course, as a user, I’m sure you’ve seen a couple of HTTP error status codes in your day!
To boil it down, the Internet is made up of two core things: Clients and Servers. Clients are your web browser, think Google Chrome, Firefox, Safari, Internet Explorer. …
Arrays methods to rule the world.
The syntax for an array looks like…
It’s a small hoisting world after all.
Let’s say it’s your job to teach React! What a fun challenge, there’s quite a bit of complexity to unfold, and at the same time React is a game-changer and excellent to learn. My goal is to introduce React, what it is and begin to give you a birds-eye view into understanding its ins and out. Let’s get started!
First of all, React is an open-source front-end library used for building user interfaces (UIs). It’s a painless solution for creating interactive UIs. Guess which companies use it? The likes of Facebook, Instagram, Uber, etc (it was actually originally developed in…