Vitest : (A Vite-native testing framework)1. Vitest Scripts in package.json "scripts": { // This script runs Vitest to execute the test suite "test": "vitest", // This script runs Vitest with an additional flag --coverage // The --coverage flag generates a test coverage repo...1 min read·namaste-react.hashnode.devOct 22, 2024
🧪Testing Library 🦑 - JEST1. Types of testing (developer) : Unit Testing : Testing One Component in Isolation || means seperately Integration Testing : Testing Integration of Components End to End Testing (or) e2e Testing : End-to-end testing verifies that all components...3 min read·namaste-react.hashnode.devOct 7, 2024
Higher Order Component (HOC) - promoted tag🚀 Higher Order Components input is component and output is (modified) component // FileName: 📂Restaurant Card const RestaurantCard = ({ data }) => { .... .... } export const withPromotedLabel = (RestaurantCard) => { return (props) => { ...1 min read·namaste-react.hashnode.devSep 22, 2024
Animation: GSAP, srollTrigger, Locomotive,GSAP,ScrollTrigger GitHub link (04 onwards) Sarthak Bhaiya- GSAP, ScrollTrigger (gsap folder)1 min read·namaste-react.hashnode.devSep 1, 2024
Passport.js : Authentication - Local Strategy1.Folder Structure project-root/ │ ├── config/ # Configuration files │ ├── db-connection.js # Database connection setup │ ├── passport-config.js # Passport.js configuration │ ├── session-config.js # Session configurati...6 min read·krayush1109.hashnode.dev1TAug 15, 2024