Войти
  • 26142Просмотров
  • 1 год назадОпубликованоCosden Solutions

Zustand with Context API – An Advanced Pattern

Try Brilliant Free for 30 days + 20% Off Premium Membership → 📥 Design Pattern Document (Newsletter) → 🚀 Project React → TKDodo's Article → Source Code → Join The Discord! → VSCode Theme | Font → Material Theme Darker | Menlo, Monaco "monospace" In this video we will take a look at a more advanced pattern in React, which consists of combining Zustand and the Context API to remove some of the limitations of global state. By using the Context API from React we are able to control how global the Zustand store is, and which part of the component tree gets access to it. This unlocks a whole new range of possibilities and combines the best of both worlds!