Open in app

Sign in

Write

Sign in

remarkablemark
remarkablemark

222 Followers

Home

About

21 hours ago

How to migrate from Create React App to Vite

This article goes over how to migrate from Create React App (CRA) to Vite since the former is deprecated. package.json Uninstall react-scripts: npm uninstall react-scripts Install vite dependencies: npm install --save-dev vite @vitejs/plugin-react-swc Update scripts in package.json: { "scripts": { - "build": "react-scripts build", +…

React

4 min read

How to migrate from Create React App to Vite
How to migrate from Create React App to Vite
React

4 min read


1 day ago

How to make the most of your internship

10 ways to make the most out of your internship: Participate in meetings Ask questions Reach out for help Take advantage of resources Find mentors Volunteer to take on more work Observe how other people do things Attend company events Network Have fun! Participate in meetings Participate in as many meetings as you…

Internships

2 min read

How to make the most of your internship
How to make the most of your internship
Internships

2 min read


Nov 10

What does an Engineering Manager do?

What’s the job of an Engineering Manager? You might say, run agile ceremonies and rituals. Set processes and culture. Document best practices. Hire and train engineers. They all describe the day-to-day activities, but what is the actual role? To answer that question, let’s first explain what an Engineer does. An…

Management

1 min read

What does an Engineering Manager do?
What does an Engineering Manager do?
Management

1 min read


Nov 6

How to migrate a React app from Parcel to Vite

This article goes over how to migrate a React app from Parcel to Vite. Dependencies Uninstall parcel dependencies: npm uninstall @parcel/packager-raw-url @parcel/transformer-webmanifest parcel Install vite dependencies: npm install --save-dev @vitejs/plugin-react-swc vite package.json Remove source and update scripts: - "source": "public/index.html", "scripts": { - "build": "parcel build", +…

Parcel

2 min read

Migrate a React app from Parcel to Vite
Migrate a React app from Parcel to Vite
Parcel

2 min read


Oct 26

How to migrate from Yarn Classic to NPM

This article goes over how to migrate from Yarn Classic (v1) to NPM. Prerequisites NPM 9+ is installed: npm --version If you’re on an older version, you can upgrade to the latest version: npm install --global npm@latest Lockfile Delete yarn.lock and node_modules: rm -rf yarn.lock node_modules Install and create package-lock.json: npm install Scripts …

Yarn

1 min read

How to migrate from Yarn Classic to NPM
How to migrate from Yarn Classic to NPM
Yarn

1 min read


Oct 24

How to listen

Did you know that there are multiple ways to listen? You can listen with your: Ears Eyes Instincts Heart Listen with your ears What is the other person trying to say? Do you understand the message? What is the tone that is conveyed? Listen with your eyes What is the person doing with his or her body language…

Listening

1 min read

How to listen
How to listen
Listening

1 min read


Oct 17

How to set up Code Climate with GitHub Actions

This article goes over how to set up Code Climate test reporter with GitHub Actions. Prerequisites Given you have a workflow .github/workflows/test.yml: # .github/workflows/test.yml name: test on: push jobs: test: runs-on: ubuntu-latest steps: # ... Setup Use remarkablemark/setup-codeclimate: steps: - uses: remarkablemark/setup-codeclimate@v2 Assuming your test command is npm test:

Code Climate

1 min read

How to set up Code Climate with GitHub Actions
How to set up Code Climate with GitHub Actions
Code Climate

1 min read


Jun 6

How to test Redux Toolkit Query with Jest and React Testing Library

This article goes over how to test RTK Query API with Jest and React Testing Library. Prerequisites Install and set up: @testing-library/react jest-fetch-mock jest Enable jest-fetch-mock in setupTests: // src/setupTests.ts import fetchMock from 'jest-fetch-mock'; fetchMock.enableMocks(); We’ll be testing RTK Query’s createApi example. This means the auto-generated React hook is exported from…

Redux

2 min read

How to test Redux Toolkit Query with Jest and React Testing Library
How to test Redux Toolkit Query with Jest and React Testing Library
Redux

2 min read


Apr 17

3 traits of highly successful programmers

Highly successful programmers are: Curious Scientific Disciplined Curious

Programming

2 min read

3 traits of highly successful programmers
3 traits of highly successful programmers
Programming

2 min read


Feb 24

How to write Detox tests in TypeScript

This article goes over how to write Detox tests in TypeScript. Prerequisites You have a React Native project with Detox set up. Setup Install the typings for detox and jest: yarn add --dev @types/detox @types/jest In Detox version 18.1.0 and higher, you don’t need to install @types/detox since Detox provides its own…

Detox

1 min read

How to write Detox tests in TypeScript
How to write Detox tests in TypeScript
Detox

1 min read

remarkablemark

remarkablemark

222 Followers

remarkablemark.org

Help

Status

About

Careers

Blog

Privacy

Terms

Text to speech

Teams