Understand React Context API and build Reusable React Tooltip component:
In this lesson of my Web Development Course, I demonstrate how to develop a simple, yet reusable and reliable Tooltip component using React. I also talk about the concept of React Context API used to solve prop drilling issues. I implement this component in Typescript in order to perform type checking on all component props to ensure component reliability and resiliency against type misuse. All CSS styles for this React component are written using a CSS in JS library called Styled Components for it's simplicity. Also in this video, I write component test to test the stability of this React component using an e2e testing tool called Cypress.
This video is part of my Youtube Web Development Playlist (link to this playlist is after the Timestamps section in this description) where in one of the previous videos on this playlist, I had demonstrated how to configure a resilient development environment for TypeScript projects. This development environment (link to this video is after the Timestamps section in this description) is configured with today's most popular and widely used languages and technologies including Javascript, Node.js, React, Typescript, Next.js, NPM, Webpack, Babel, EsLint, Prettier, Vitest, React testing library, Cypress, and more.
Timestamps:
0:00 React useContext
5:30 React Tooltip Component
30:44 Cypress Component Testing
Web Development FULL Course: • Web Development FULL Course
Javascript Node.js Development Environment Setup: • Full Stack Development [3] - Development E...
About Me:
🌎 My Website: https://www.fullstackpro.io
GitHub Repo for my Youtube Videos: https://github.com/prashan-pudasaini
LinkedIn: / prashan-pudasaini
Facebook: / fullstackpro.io
Tags:
#technology #coding #programming #javascript #software #webdevelopment #webdesign #reactjs
Sur cette page du site, vous pouvez voir la vidéo en ligne Full Stack Development [16] - React Context API durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur modjs 27 août 2024, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 342 fois et il a aimé 10 téléspectateurs. Bon visionnage!