Brief Intro:

An interviewer asked me how I utilize test-driven development, so I immediately began explaining my work with unit testing using mocha. I learned that there was another form of T.D.D, End-to-end testing, and in this article I will introduce you to both!

Unit Testing(Mocha/Chai)

Unit testing typically tests an individual component/function in your app. We will test the example functions written below to show how this works.

If you found this article then you probably have an intermediate understanding of JavaScript and are now taking your first baby steps at learning Microsoft’s TypeScript. If you are more experienced with T.S, I hope this can be a quick refresher for you!


  1. What is TypeScript & Why use it?
  2. Setting up TypeScript.
  3. Examples Static Typing & Errors in TypeScript.

What is Typescript and Why Would I use it?


  1. Why Redux?
  2. Fetching Data and Setting State in a React Class Component vs Using Redux and Hooks to do the same thing.
  3. Deep dive into the Redux Provider and the “Store”(ft. Reducers &Hooks)

So, Why Redux?

It is typical in React to use a class component to declare your applications state, passing this down to each child component individually. As straight forward as this may be, it will take a profuse amount of planning ahead to minimize your time spent restructuring and and fixing bad practices in your app.

Javaria Brascom

Full-Stack Engineer and Video Game Connoisseur

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store