ChrisWongAtCUHK / React-useContext-Demo

Home Page:https://chriswongatcuhk.github.io/React-useContext-Demo/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

React useContext Demo

Create an app by Vite

$ yarn create vite react-useContext-demo --template react -y

Deploy to GitHub Pages

  • Commands
    • build and commit
    $ yarn build
    $ git add -f dist
    $ git commit -m "Add dist folder"
    
    • push to branch gh-pages
    $ git subtree push --prefix dist/ origin gh-pages
    
    • delete gh-pages if necessary
    $ git push --delete origin gh-pages
    
  • React useContext Demo

About

https://chriswongatcuhk.github.io/React-useContext-Demo/


Languages

Language:CSS 49.1%Language:JavaScript 42.6%Language:HTML 8.3%