Skip to main content
grasp.study
About
Explore
Pricing
Log in
Try it for free
Back to course
👋
Welcome to a Grasp lesson
Create a free account
to keep studying and create your own study path.
React.js: Basic to Advanced
·
Module 12
Testing, Building, and Deploying
1
Vitest & React Testing Library Setup
Set up a testing environment with Vitest and React Testing Library.
Testing Presentational Components
Write unit tests for presentational components and assert their output.
3
Testing Components with State, Props, and Context
Write integration tests for components that involve state, props, and context.
4
Simulating User Interactions with `@testing-library/user-event`
Simulate user interactions like clicks and input typing using `@testing-library/user-event`.
5
Implementing Error Boundaries with Class Components
Implement Error Boundaries using a class component to catch and handle runtime errors gracefully.
6
Code Splitting with React.lazy and Suspense
Apply code splitting with `React.lazy` and `<Suspense>` to improve initial load time.
7
Optimizing Builds with Vite for Production
Configure a build process with Vite for a production-optimized application.
8
Deploying React Apps to Static Hosting
Deploy a production-ready React application to a static hosting platform like Vercel or Netlify.
End of course,
Back to course
Previous module
Advanced Component and TypeScript Patterns
Next module