Skip to content

Instantly share code, notes, and snippets.

View JorgeMenaDev's full-sized avatar

Jorge Mena JorgeMenaDev

View GitHub Profile
@JorgeMenaDev
JorgeMenaDev / gists.txt
Last active October 22, 2024 13:54
gists
# Application Modernization: Legacy React to Next.js Migration
## Overview
This epic encompasses the comprehensive modernization of our current React application by migrating to Next.js, upgrading our UI component library from Bootstrap to shadcn, and implementing end-to-end testing with Playwright. This initiative represents a significant technical upgrade that will improve our application's performance, maintainability, and testing capabilities. Both the legacy and modern applications will be maintained simultaneously, allowing users to switch between interfaces based on their preference.
## The Problem
Our current application faces several challenges:
1. **Technical Debt**
- Legacy React codebase with outdated patterns and practices
@JorgeMenaDev
JorgeMenaDev / jest-set-up.md
Last active June 18, 2022 12:13
Vite + Jest + React Testing Library

Jest + React Testing Library

React + Vite

  1. Instalaciones:
npm install -D jest babel-jest @babel/preset-env @babel/preset-react 
npm install -D @testing-library/react @types/jest jest-environment-jsdom
  1. if Fetch API: