/react-context-example

Example Project to show Theme change using Context in React

Primary LanguageTypeScriptMIT LicenseMIT

Context in React

This repo contains a bare minimum react Project. Without using create-react-app

🚀 Demo

https://ayonious.github.io/react-context-example

🧐 Contents

  1. Babbel
  2. Webpack
  3. React
  4. Typescript

Also contains small tools:

  1. prettier and husky (format when you push)
  2. .gitignore
  3. renovate bot config

🏃 Running instruction

Devmode

npm install
npm run start

Make Production build

npm install
npm run build

Then open the docs/index.html file on your browser