/contextExample

Redux is great. I use it all the time. However, sometimes Redux is an overkill. If you need data that'll change over time but not that frequently, Context is a great built-in option.

Primary LanguageJavaScript

contextExample

Overview 👀

This project is a simple example of using React Context API to manage global state. It was bootstrapped with Create React App and uses modern JavaScript features such as ES7 syntax and React Hooks.

Screenshot

Tech stack 🛠️

Tech Docs Description
React React A JavaScript library for building user interfaces
Create React App Create React App A tool to set up a modern React project with no configuration
Context API Context API A way to share data between components without prop drilling
React Hooks React Hooks A way to use state and other React features without writing a class component
ES7 ES7 The seventh edition of the ECMAScript standard that introduces new features such as async/await and exponentiation operator
JS JS A scripting language that enables dynamic and interactive web pages

Contributing 🙌

Contributions are always welcome! If you would like to contribute to this project, please follow these steps:

  1. Fork the repository. 🍴
  2. Create a new branch. 🌵
  3. Make your changes and test them thoroughly. 👨‍💻
  4. Submit a pull request. ✔

License 📑

This project is licensed under the MIT License - see the LICENSE file for details.

Credits 👨🏻‍💻

This repo was created by Dzenis H.

Contributions are more than welcome. 🫡

If you like what you see, please consider giving a ⭐️