├── .gitignore ├── README.md ├── package.json ├── public ├── favicon.ico ├── index.html ├── logo192.png ├── logo512.png ├── manifest.json └── robots.txt └── src ├── App.css ├── App.js ├── App.test.js ├── components ├── Cart.js ├── Context.js ├── Header.js ├── Home.js ├── SingleProduct.js └── styles.css ├── index.css ├── index.js ├── logo.svg ├── reportWebVitals.js └── setupTests.js /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shanakasp/React-Context-Api-Practise/HEAD/.gitignore -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shanakasp/React-Context-Api-Practise/HEAD/README.md -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shanakasp/React-Context-Api-Practise/HEAD/package.json -------------------------------------------------------------------------------- /public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shanakasp/React-Context-Api-Practise/HEAD/public/favicon.ico -------------------------------------------------------------------------------- /public/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shanakasp/React-Context-Api-Practise/HEAD/public/index.html -------------------------------------------------------------------------------- /public/logo192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shanakasp/React-Context-Api-Practise/HEAD/public/logo192.png -------------------------------------------------------------------------------- /public/logo512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shanakasp/React-Context-Api-Practise/HEAD/public/logo512.png -------------------------------------------------------------------------------- /public/manifest.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shanakasp/React-Context-Api-Practise/HEAD/public/manifest.json -------------------------------------------------------------------------------- /public/robots.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shanakasp/React-Context-Api-Practise/HEAD/public/robots.txt -------------------------------------------------------------------------------- /src/App.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/App.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shanakasp/React-Context-Api-Practise/HEAD/src/App.js -------------------------------------------------------------------------------- /src/App.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shanakasp/React-Context-Api-Practise/HEAD/src/App.test.js -------------------------------------------------------------------------------- /src/components/Cart.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shanakasp/React-Context-Api-Practise/HEAD/src/components/Cart.js -------------------------------------------------------------------------------- /src/components/Context.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shanakasp/React-Context-Api-Practise/HEAD/src/components/Context.js -------------------------------------------------------------------------------- /src/components/Header.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shanakasp/React-Context-Api-Practise/HEAD/src/components/Header.js -------------------------------------------------------------------------------- /src/components/Home.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shanakasp/React-Context-Api-Practise/HEAD/src/components/Home.js -------------------------------------------------------------------------------- /src/components/SingleProduct.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shanakasp/React-Context-Api-Practise/HEAD/src/components/SingleProduct.js -------------------------------------------------------------------------------- /src/components/styles.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shanakasp/React-Context-Api-Practise/HEAD/src/components/styles.css -------------------------------------------------------------------------------- /src/index.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shanakasp/React-Context-Api-Practise/HEAD/src/index.css -------------------------------------------------------------------------------- /src/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shanakasp/React-Context-Api-Practise/HEAD/src/index.js -------------------------------------------------------------------------------- /src/logo.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shanakasp/React-Context-Api-Practise/HEAD/src/logo.svg -------------------------------------------------------------------------------- /src/reportWebVitals.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shanakasp/React-Context-Api-Practise/HEAD/src/reportWebVitals.js -------------------------------------------------------------------------------- /src/setupTests.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shanakasp/React-Context-Api-Practise/HEAD/src/setupTests.js --------------------------------------------------------------------------------