├── .babelrc ├── .editorconfig ├── .eslintignore ├── .eslintrc.js ├── .gitignore ├── .vscode └── settings.json ├── README.md ├── config ├── webpack.base.config.js └── webpack.prod.config.js ├── enzyme.config.js ├── jest.config.js ├── package.json ├── prettier.config.js ├── server ├── index.js └── routes │ └── index.js └── src ├── animations ├── Fade.js └── Progress.js ├── context └── index.js ├── helpers └── Section.js ├── hooks ├── UseContextExample.js ├── UseCustomHooks.js ├── UseEffectExample.js ├── UseReducerExample.js └── UseStateExample.js ├── index.html ├── index.js ├── static └── public │ └── style.css └── styles.scss /.babelrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adeelibr/react-hooks-demo/HEAD/.babelrc -------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adeelibr/react-hooks-demo/HEAD/.editorconfig -------------------------------------------------------------------------------- /.eslintignore: -------------------------------------------------------------------------------- 1 | /.git 2 | /.vscode 3 | /dist 4 | node_modules -------------------------------------------------------------------------------- /.eslintrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adeelibr/react-hooks-demo/HEAD/.eslintrc.js -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adeelibr/react-hooks-demo/HEAD/.gitignore -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adeelibr/react-hooks-demo/HEAD/.vscode/settings.json -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adeelibr/react-hooks-demo/HEAD/README.md -------------------------------------------------------------------------------- /config/webpack.base.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adeelibr/react-hooks-demo/HEAD/config/webpack.base.config.js -------------------------------------------------------------------------------- /config/webpack.prod.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adeelibr/react-hooks-demo/HEAD/config/webpack.prod.config.js -------------------------------------------------------------------------------- /enzyme.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adeelibr/react-hooks-demo/HEAD/enzyme.config.js -------------------------------------------------------------------------------- /jest.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adeelibr/react-hooks-demo/HEAD/jest.config.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adeelibr/react-hooks-demo/HEAD/package.json -------------------------------------------------------------------------------- /prettier.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adeelibr/react-hooks-demo/HEAD/prettier.config.js -------------------------------------------------------------------------------- /server/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adeelibr/react-hooks-demo/HEAD/server/index.js -------------------------------------------------------------------------------- /server/routes/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adeelibr/react-hooks-demo/HEAD/server/routes/index.js -------------------------------------------------------------------------------- /src/animations/Fade.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adeelibr/react-hooks-demo/HEAD/src/animations/Fade.js -------------------------------------------------------------------------------- /src/animations/Progress.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adeelibr/react-hooks-demo/HEAD/src/animations/Progress.js -------------------------------------------------------------------------------- /src/context/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adeelibr/react-hooks-demo/HEAD/src/context/index.js -------------------------------------------------------------------------------- /src/helpers/Section.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adeelibr/react-hooks-demo/HEAD/src/helpers/Section.js -------------------------------------------------------------------------------- /src/hooks/UseContextExample.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adeelibr/react-hooks-demo/HEAD/src/hooks/UseContextExample.js -------------------------------------------------------------------------------- /src/hooks/UseCustomHooks.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adeelibr/react-hooks-demo/HEAD/src/hooks/UseCustomHooks.js -------------------------------------------------------------------------------- /src/hooks/UseEffectExample.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adeelibr/react-hooks-demo/HEAD/src/hooks/UseEffectExample.js -------------------------------------------------------------------------------- /src/hooks/UseReducerExample.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adeelibr/react-hooks-demo/HEAD/src/hooks/UseReducerExample.js -------------------------------------------------------------------------------- /src/hooks/UseStateExample.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adeelibr/react-hooks-demo/HEAD/src/hooks/UseStateExample.js -------------------------------------------------------------------------------- /src/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adeelibr/react-hooks-demo/HEAD/src/index.html -------------------------------------------------------------------------------- /src/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adeelibr/react-hooks-demo/HEAD/src/index.js -------------------------------------------------------------------------------- /src/static/public/style.css: -------------------------------------------------------------------------------- 1 | body { 2 | background-color: white; 3 | } -------------------------------------------------------------------------------- /src/styles.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adeelibr/react-hooks-demo/HEAD/src/styles.scss --------------------------------------------------------------------------------