Small reusable building blocks

If you work with React or React Native, feel that your coding speed is slow, spend your time catching bugs, and not adding new features, work with long source files and have a hard time finding stuff, and implement the same logic over and over again, you will double your coding speed if you refactor your code into reusable building blocks.

With reusable React components [and hooks] it’s trivial to build something awesome. It’s like snapping Lego pieces together. 👍

Cory House, Designing Reusable React Components

How you will learn

We will look at a React component, that has been written by a…


Why do we want to use TypeScript?

Modern software development best practices require programmers to write tons of code:

  • Business logic
  • Tests. Unit/Integrational/E2E and even types. Types are tests that can be run in massive amount even before you run your program

Without tests, your system will be doomed to face well-known issues:

  • Teams spend most of their time fixing bugs and not adding new features
  • Each newly added feature makes every next feature harder to implement

You need to write tons of code to be on top of your game. Don’t make your life harder. Never again write TypeScript types for GraphQL schema by hand.

TypeScript…

Aleksey Kozin

Senior React Native Developer

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