Skip to main content

2 posts tagged with "React"

View all tags

Setting Up Internationalization in a React Project

· 5 min read
Bosh
Software Engineer

Introduction:
I've recently been updating our internal frontend codebase at work. One task was to add internationalization (i18n). Although we'd been using i18n in the old project for a while, this was my first time setting it up myself. It seemed like a good opportunity to write down what I learned and how I implemented it.

[Implementation Notes] Setting Up React + TypeScript + Jest + React Testing Library + MSW

· 16 min read
Bosh
Software Engineer

Here are my notes on the testing tools I recently set up in one of my projects at work. I chose Jest + React Testing Library + MSW, and used Husky + lint-staged to automatically run related tests at pre-commit time. There are plenty of other popular testing tools in the React ecosystem worth trying, too, including Vitest, which has recently been gaining ground on Jest, and Cypress for E2E testing.