Last modified on Thu 12 Jan 2023

In the next sections we will cover some topics related to React ecosystem used inside our company.

Next.js Framework

Next.js is a production ready framework for building React applications.


Next.js supports TypeScript by default and has built-in types for pages and the API.

If you are unfamiliar with Typescript you can go through documentation or play with it in a playground.

Next.js uses '@babel/preset-typescript' instead of tsc so some features are not supported

Does not support namespaces or const enums because those require type information to transpile. Also does not support export = and import =, because those cannot be transpiled to


Prettier is an opinionated code formatter that supports many languages and integrates with most editors. By using Prettier we can achieve consistent code across all the project without spending too many time and energy on PR reviews. We are obligated to use it on every project.

You can start using it by adding this VSCode plugin and creating .prettierrc in the root of your project.

Here is an example of .prettierrc:

  "$schema": "",
  "printWidth": 120,
  "endOfLine": "lf",
  "useTabs": true,
  "arrowParens": "always",
  "quoteProps": "as-needed",
  "bracketSpacing": true,
  "singleQuote": true,
  "semi": true,
  "trailingComma": "es5"


You can enable formatOnSave in VSCode by creating .vscode/settings.json and adding these settings:

  "editor.formatOnSave": true,

This will format your code every time save file.


We use Eslint to find and fix problems in our JavaScript code.


Automated testing is very important in software development. It gives us the assurance that code won't break when we add new features or change some existing implementation. You can read more about how to test in a separate testing chapter.


We use polyglot-cli for managing translations and react.i18next for implementing internationalization in React applications.

Now that you have everything set and ready, you can start with the tutorials and official documentation explained in the next chapter.