---
sidebar_position: 1
title: Context API
comment: true
tags:
  - Reactjs
  - State management
  - Context API
---

## Demo

[Context](https://react.dev/reference/react/useContext)

[Source](https://github.com/hunghg255/reactjs-state-management/tree/master/simple-context)

<video
  src='https://res.cloudinary.com/hunghg255/video/upload/v1679539195/blog/context_nu7hgh.mov'
  loop
  muted
  controls
  autoplay
/>
