Continuously you will need to know what type are the variables in order to create conditionals that are prepared to manipulate and maintain your code stable. For that reason I give you a cheat sheet to establish what is exactly your variable.
These are functions to which you pass your…
Async/await was introduced in 2017 with ES8. It is a way to execute your code asynchronously without blocking the thread. Instead of using callbacks and promises the
async/await syntax makes your code more readable and maintainable.
To create an async function we just need to add the
async keyword before…
I will list some quick facts and concepts you probably did not know about JS.
In programming unintended side-effects called errors can and will happen in your code. Allowing these errors to be introduced to people that are using your programs is frowned upon and a very bad user experience.
Error Handling is the technique of smoothly handling these errors and providing useful information to…
A Doubly Linked List (DLL) is a linked data structure consists of a set of sequentially linked records called nodes which contains a lot of data elements and is even able to do a lot of operations such as insertion, delete, remove and add.
Similar to a singly linked list…
In this post I want to explain how to test most popular React Hooks using jest and enzyme.
To test react lifecycle, we need to use mount instead of using shallow.
To test useState I created a small component with a title and a button to change that title.
The acronym CRUD stands for Create, Read, Update and Delete.
Create: Inserts a new data
Read: Read the data
Update: Update the existing data
Delete: Delete the existing data
GET — is used to request data from a specified resource.
POST — is used to send data to a server to…
1) Here’s the link: https://signup.heroku.com/
2) You’ll be creating a new app and adding your app’s name and region.
1) Install Heroku CLI. On a Mac, if you have homebrew, run
brew tap heroku/brew && brew install heroku in the terminal, otherwise check out the documentation.
2) In the root…