filmov
tv
React Context with Typescript to show current active page tab, Global Context provider with reducer
Показать описание
This is part4 of NextJs Sanity Stripe eCommerce Project. In this video we solved the problem when refreshing the whole page and losing the focus or the indicator on the tab of the page to show which page is active currently.
We used Typescript, React Global Context Provider, createContext, useContext, useReducer to allow all pages to access and control the state that manages the pages tabs.
NextJs 13
ReactJs
Global Context Provider
createContext
useContext
useReducer
Sanity
MUI5
Stripe
Current active page indicator
Source Code on github:
00:00 Introduction
00:53 React Global Context in Typescript
08:15 Changing active tab state from the current page
We used Typescript, React Global Context Provider, createContext, useContext, useReducer to allow all pages to access and control the state that manages the pages tabs.
NextJs 13
ReactJs
Global Context Provider
createContext
useContext
useReducer
Sanity
MUI5
Stripe
Current active page indicator
Source Code on github:
00:00 Introduction
00:53 React Global Context in Typescript
08:15 Changing active tab state from the current page
Use TypeScript with React Context API
React TypeScript Tutorial - 14 - useContext Hook
React Context API with TypeScript | UserContext React TypeScript
React Context with Typescript to show current active page tab, Global Context provider with reducer
Typing createContext in React #typescript #react
2 Способа как убрать React context hell | Пишем хелпер на typescript
No BS TS #25 - Typescript/React - useContext
Context API React + Typescript | useContext & useReducer Examples
new AI architecture, old AI problems
The Quickest React Context Tutorial 🏎️ (TypeScript)
Best practices for using React Context with Typescript and NextJS: Part One
How to use React Context with TypeScript 2021 (Beginner Friendly)
React Course - TypeScript - Context API
ShoppingCart - useContext Deep Dive and Implementation - React + Typescript
Advanced React Context Typescript | useContext and createContext
React Typescript Tutorial - React Context - React TS Crash course - Day#5
React Project Tutorial for Beginners (Hooks, Context API, Tailwind, TypeScript, Authentication)
How to Properly Use React Context with TypeScript in My Project
useContext In 2 Minutes - the React Hooks series
Use This Context Hook in React With Typescript ❗
ReactJs useContext hook with Typescript - how to manage Authenticated user's data inside your a...
Learn useContext In 13 Minutes
react context api with typescript usercontext react typescript
React Context API | useContext with Typescript
Комментарии