├── .gitignore ├── Demo-01-Basic-routing ├── .gitignore ├── package-lock.json ├── package.json ├── public │ ├── favicon.ico │ ├── index.html │ └── manifest.json └── src │ ├── App.js │ ├── index.css │ └── index.js ├── Demo-02-Nested-routing ├── .gitignore ├── package-lock.json ├── package.json ├── public │ ├── favicon.ico │ ├── index.html │ └── manifest.json └── src │ ├── App.js │ ├── Category.jsx │ ├── index.css │ └── index.js ├── Demo-03-Nested-routing-with-params ├── .gitignore ├── package-lock.json ├── package.json ├── public │ ├── favicon.ico │ ├── index.html │ └── manifest.json └── src │ ├── App.js │ ├── Category.jsx │ ├── Product.jsx │ ├── Products.jsx │ └── index.js ├── Demo-04-Protected-routing ├── .gitignore ├── package-lock.json ├── package.json ├── public │ ├── favicon.ico │ ├── index.html │ └── manifest.json └── src │ ├── App.js │ ├── Category.jsx │ ├── Login.jsx │ ├── Product.jsx │ ├── Products.jsx │ └── index.js └── README.md /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blizzerand/react-router-v4-demo/HEAD/.gitignore -------------------------------------------------------------------------------- /Demo-01-Basic-routing/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blizzerand/react-router-v4-demo/HEAD/Demo-01-Basic-routing/.gitignore -------------------------------------------------------------------------------- /Demo-01-Basic-routing/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blizzerand/react-router-v4-demo/HEAD/Demo-01-Basic-routing/package-lock.json -------------------------------------------------------------------------------- /Demo-01-Basic-routing/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blizzerand/react-router-v4-demo/HEAD/Demo-01-Basic-routing/package.json -------------------------------------------------------------------------------- /Demo-01-Basic-routing/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blizzerand/react-router-v4-demo/HEAD/Demo-01-Basic-routing/public/favicon.ico -------------------------------------------------------------------------------- /Demo-01-Basic-routing/public/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blizzerand/react-router-v4-demo/HEAD/Demo-01-Basic-routing/public/index.html -------------------------------------------------------------------------------- /Demo-01-Basic-routing/public/manifest.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blizzerand/react-router-v4-demo/HEAD/Demo-01-Basic-routing/public/manifest.json -------------------------------------------------------------------------------- /Demo-01-Basic-routing/src/App.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blizzerand/react-router-v4-demo/HEAD/Demo-01-Basic-routing/src/App.js -------------------------------------------------------------------------------- /Demo-01-Basic-routing/src/index.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blizzerand/react-router-v4-demo/HEAD/Demo-01-Basic-routing/src/index.css -------------------------------------------------------------------------------- /Demo-01-Basic-routing/src/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blizzerand/react-router-v4-demo/HEAD/Demo-01-Basic-routing/src/index.js -------------------------------------------------------------------------------- /Demo-02-Nested-routing/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blizzerand/react-router-v4-demo/HEAD/Demo-02-Nested-routing/.gitignore -------------------------------------------------------------------------------- /Demo-02-Nested-routing/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blizzerand/react-router-v4-demo/HEAD/Demo-02-Nested-routing/package-lock.json -------------------------------------------------------------------------------- /Demo-02-Nested-routing/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blizzerand/react-router-v4-demo/HEAD/Demo-02-Nested-routing/package.json -------------------------------------------------------------------------------- /Demo-02-Nested-routing/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blizzerand/react-router-v4-demo/HEAD/Demo-02-Nested-routing/public/favicon.ico -------------------------------------------------------------------------------- /Demo-02-Nested-routing/public/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blizzerand/react-router-v4-demo/HEAD/Demo-02-Nested-routing/public/index.html -------------------------------------------------------------------------------- /Demo-02-Nested-routing/public/manifest.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blizzerand/react-router-v4-demo/HEAD/Demo-02-Nested-routing/public/manifest.json -------------------------------------------------------------------------------- /Demo-02-Nested-routing/src/App.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blizzerand/react-router-v4-demo/HEAD/Demo-02-Nested-routing/src/App.js -------------------------------------------------------------------------------- /Demo-02-Nested-routing/src/Category.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blizzerand/react-router-v4-demo/HEAD/Demo-02-Nested-routing/src/Category.jsx -------------------------------------------------------------------------------- /Demo-02-Nested-routing/src/index.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blizzerand/react-router-v4-demo/HEAD/Demo-02-Nested-routing/src/index.css -------------------------------------------------------------------------------- /Demo-02-Nested-routing/src/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blizzerand/react-router-v4-demo/HEAD/Demo-02-Nested-routing/src/index.js -------------------------------------------------------------------------------- /Demo-03-Nested-routing-with-params/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blizzerand/react-router-v4-demo/HEAD/Demo-03-Nested-routing-with-params/.gitignore -------------------------------------------------------------------------------- /Demo-03-Nested-routing-with-params/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blizzerand/react-router-v4-demo/HEAD/Demo-03-Nested-routing-with-params/package-lock.json -------------------------------------------------------------------------------- /Demo-03-Nested-routing-with-params/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blizzerand/react-router-v4-demo/HEAD/Demo-03-Nested-routing-with-params/package.json -------------------------------------------------------------------------------- /Demo-03-Nested-routing-with-params/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blizzerand/react-router-v4-demo/HEAD/Demo-03-Nested-routing-with-params/public/favicon.ico -------------------------------------------------------------------------------- /Demo-03-Nested-routing-with-params/public/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blizzerand/react-router-v4-demo/HEAD/Demo-03-Nested-routing-with-params/public/index.html -------------------------------------------------------------------------------- /Demo-03-Nested-routing-with-params/public/manifest.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blizzerand/react-router-v4-demo/HEAD/Demo-03-Nested-routing-with-params/public/manifest.json -------------------------------------------------------------------------------- /Demo-03-Nested-routing-with-params/src/App.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blizzerand/react-router-v4-demo/HEAD/Demo-03-Nested-routing-with-params/src/App.js -------------------------------------------------------------------------------- /Demo-03-Nested-routing-with-params/src/Category.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blizzerand/react-router-v4-demo/HEAD/Demo-03-Nested-routing-with-params/src/Category.jsx -------------------------------------------------------------------------------- /Demo-03-Nested-routing-with-params/src/Product.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blizzerand/react-router-v4-demo/HEAD/Demo-03-Nested-routing-with-params/src/Product.jsx -------------------------------------------------------------------------------- /Demo-03-Nested-routing-with-params/src/Products.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blizzerand/react-router-v4-demo/HEAD/Demo-03-Nested-routing-with-params/src/Products.jsx -------------------------------------------------------------------------------- /Demo-03-Nested-routing-with-params/src/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blizzerand/react-router-v4-demo/HEAD/Demo-03-Nested-routing-with-params/src/index.js -------------------------------------------------------------------------------- /Demo-04-Protected-routing/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blizzerand/react-router-v4-demo/HEAD/Demo-04-Protected-routing/.gitignore -------------------------------------------------------------------------------- /Demo-04-Protected-routing/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blizzerand/react-router-v4-demo/HEAD/Demo-04-Protected-routing/package-lock.json -------------------------------------------------------------------------------- /Demo-04-Protected-routing/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blizzerand/react-router-v4-demo/HEAD/Demo-04-Protected-routing/package.json -------------------------------------------------------------------------------- /Demo-04-Protected-routing/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blizzerand/react-router-v4-demo/HEAD/Demo-04-Protected-routing/public/favicon.ico -------------------------------------------------------------------------------- /Demo-04-Protected-routing/public/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blizzerand/react-router-v4-demo/HEAD/Demo-04-Protected-routing/public/index.html -------------------------------------------------------------------------------- /Demo-04-Protected-routing/public/manifest.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blizzerand/react-router-v4-demo/HEAD/Demo-04-Protected-routing/public/manifest.json -------------------------------------------------------------------------------- /Demo-04-Protected-routing/src/App.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blizzerand/react-router-v4-demo/HEAD/Demo-04-Protected-routing/src/App.js -------------------------------------------------------------------------------- /Demo-04-Protected-routing/src/Category.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blizzerand/react-router-v4-demo/HEAD/Demo-04-Protected-routing/src/Category.jsx -------------------------------------------------------------------------------- /Demo-04-Protected-routing/src/Login.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blizzerand/react-router-v4-demo/HEAD/Demo-04-Protected-routing/src/Login.jsx -------------------------------------------------------------------------------- /Demo-04-Protected-routing/src/Product.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blizzerand/react-router-v4-demo/HEAD/Demo-04-Protected-routing/src/Product.jsx -------------------------------------------------------------------------------- /Demo-04-Protected-routing/src/Products.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blizzerand/react-router-v4-demo/HEAD/Demo-04-Protected-routing/src/Products.jsx -------------------------------------------------------------------------------- /Demo-04-Protected-routing/src/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blizzerand/react-router-v4-demo/HEAD/Demo-04-Protected-routing/src/index.js -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blizzerand/react-router-v4-demo/HEAD/README.md --------------------------------------------------------------------------------