├── .eslintrc.json ├── .gitignore ├── README.md ├── package.json ├── public ├── favicon.ico ├── index.html ├── logo192.png ├── logo512.png ├── manifest.json └── robots.txt ├── src ├── App.js ├── App.test.js ├── container │ ├── counter.js │ ├── header.js │ └── login.js ├── index.css ├── index.js ├── serviceWorker.js ├── setupTests.js └── store │ ├── connect.js │ ├── hooks │ ├── useCombinedReducers.js │ └── useStore.js │ ├── index.js │ ├── middleware.js │ └── reducers │ ├── auth.js │ └── counter.js ├── v1 ├── README.md ├── cypress.json ├── cypress │ ├── fixtures │ │ ├── example.json │ │ ├── profile.json │ │ └── users.json │ ├── integration │ │ └── context │ │ │ └── index.spec.js │ ├── plugins │ │ └── index.js │ └── support │ │ ├── commands.js │ │ └── index.js ├── package-lock.json ├── package.json ├── public │ ├── favicon.ico │ ├── index.html │ └── manifest.json ├── src │ ├── App.js │ ├── App.test.js │ ├── container │ │ ├── counter.js │ │ ├── header.js │ │ └── login.js │ ├── index.css │ ├── index.js │ ├── logo.svg │ ├── serviceWorker.js │ └── store │ │ ├── auth.js │ │ ├── config │ │ ├── config.js │ │ ├── connect.js │ │ ├── middleware.js │ │ └── provider.js │ │ └── counter.js └── yarn.lock └── yarn.lock /.eslintrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sergioamjr/replacing-redux-with-react-hooks/HEAD/.eslintrc.json -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sergioamjr/replacing-redux-with-react-hooks/HEAD/.gitignore -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sergioamjr/replacing-redux-with-react-hooks/HEAD/README.md -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sergioamjr/replacing-redux-with-react-hooks/HEAD/package.json -------------------------------------------------------------------------------- /public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sergioamjr/replacing-redux-with-react-hooks/HEAD/public/favicon.ico -------------------------------------------------------------------------------- /public/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sergioamjr/replacing-redux-with-react-hooks/HEAD/public/index.html -------------------------------------------------------------------------------- /public/logo192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sergioamjr/replacing-redux-with-react-hooks/HEAD/public/logo192.png -------------------------------------------------------------------------------- /public/logo512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sergioamjr/replacing-redux-with-react-hooks/HEAD/public/logo512.png -------------------------------------------------------------------------------- /public/manifest.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sergioamjr/replacing-redux-with-react-hooks/HEAD/public/manifest.json -------------------------------------------------------------------------------- /public/robots.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sergioamjr/replacing-redux-with-react-hooks/HEAD/public/robots.txt -------------------------------------------------------------------------------- /src/App.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sergioamjr/replacing-redux-with-react-hooks/HEAD/src/App.js -------------------------------------------------------------------------------- /src/App.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sergioamjr/replacing-redux-with-react-hooks/HEAD/src/App.test.js -------------------------------------------------------------------------------- /src/container/counter.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sergioamjr/replacing-redux-with-react-hooks/HEAD/src/container/counter.js -------------------------------------------------------------------------------- /src/container/header.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sergioamjr/replacing-redux-with-react-hooks/HEAD/src/container/header.js -------------------------------------------------------------------------------- /src/container/login.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sergioamjr/replacing-redux-with-react-hooks/HEAD/src/container/login.js -------------------------------------------------------------------------------- /src/index.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sergioamjr/replacing-redux-with-react-hooks/HEAD/src/index.css -------------------------------------------------------------------------------- /src/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sergioamjr/replacing-redux-with-react-hooks/HEAD/src/index.js -------------------------------------------------------------------------------- /src/serviceWorker.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sergioamjr/replacing-redux-with-react-hooks/HEAD/src/serviceWorker.js -------------------------------------------------------------------------------- /src/setupTests.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sergioamjr/replacing-redux-with-react-hooks/HEAD/src/setupTests.js -------------------------------------------------------------------------------- /src/store/connect.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sergioamjr/replacing-redux-with-react-hooks/HEAD/src/store/connect.js -------------------------------------------------------------------------------- /src/store/hooks/useCombinedReducers.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sergioamjr/replacing-redux-with-react-hooks/HEAD/src/store/hooks/useCombinedReducers.js -------------------------------------------------------------------------------- /src/store/hooks/useStore.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sergioamjr/replacing-redux-with-react-hooks/HEAD/src/store/hooks/useStore.js -------------------------------------------------------------------------------- /src/store/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sergioamjr/replacing-redux-with-react-hooks/HEAD/src/store/index.js -------------------------------------------------------------------------------- /src/store/middleware.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sergioamjr/replacing-redux-with-react-hooks/HEAD/src/store/middleware.js -------------------------------------------------------------------------------- /src/store/reducers/auth.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sergioamjr/replacing-redux-with-react-hooks/HEAD/src/store/reducers/auth.js -------------------------------------------------------------------------------- /src/store/reducers/counter.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sergioamjr/replacing-redux-with-react-hooks/HEAD/src/store/reducers/counter.js -------------------------------------------------------------------------------- /v1/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sergioamjr/replacing-redux-with-react-hooks/HEAD/v1/README.md -------------------------------------------------------------------------------- /v1/cypress.json: -------------------------------------------------------------------------------- 1 | { 2 | "projectId": "44ru26" 3 | } 4 | -------------------------------------------------------------------------------- /v1/cypress/fixtures/example.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sergioamjr/replacing-redux-with-react-hooks/HEAD/v1/cypress/fixtures/example.json -------------------------------------------------------------------------------- /v1/cypress/fixtures/profile.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sergioamjr/replacing-redux-with-react-hooks/HEAD/v1/cypress/fixtures/profile.json -------------------------------------------------------------------------------- /v1/cypress/fixtures/users.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sergioamjr/replacing-redux-with-react-hooks/HEAD/v1/cypress/fixtures/users.json -------------------------------------------------------------------------------- /v1/cypress/integration/context/index.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sergioamjr/replacing-redux-with-react-hooks/HEAD/v1/cypress/integration/context/index.spec.js -------------------------------------------------------------------------------- /v1/cypress/plugins/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sergioamjr/replacing-redux-with-react-hooks/HEAD/v1/cypress/plugins/index.js -------------------------------------------------------------------------------- /v1/cypress/support/commands.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sergioamjr/replacing-redux-with-react-hooks/HEAD/v1/cypress/support/commands.js -------------------------------------------------------------------------------- /v1/cypress/support/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sergioamjr/replacing-redux-with-react-hooks/HEAD/v1/cypress/support/index.js -------------------------------------------------------------------------------- /v1/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sergioamjr/replacing-redux-with-react-hooks/HEAD/v1/package-lock.json -------------------------------------------------------------------------------- /v1/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sergioamjr/replacing-redux-with-react-hooks/HEAD/v1/package.json -------------------------------------------------------------------------------- /v1/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sergioamjr/replacing-redux-with-react-hooks/HEAD/v1/public/favicon.ico -------------------------------------------------------------------------------- /v1/public/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sergioamjr/replacing-redux-with-react-hooks/HEAD/v1/public/index.html -------------------------------------------------------------------------------- /v1/public/manifest.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sergioamjr/replacing-redux-with-react-hooks/HEAD/v1/public/manifest.json -------------------------------------------------------------------------------- /v1/src/App.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sergioamjr/replacing-redux-with-react-hooks/HEAD/v1/src/App.js -------------------------------------------------------------------------------- /v1/src/App.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sergioamjr/replacing-redux-with-react-hooks/HEAD/v1/src/App.test.js -------------------------------------------------------------------------------- /v1/src/container/counter.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sergioamjr/replacing-redux-with-react-hooks/HEAD/v1/src/container/counter.js -------------------------------------------------------------------------------- /v1/src/container/header.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sergioamjr/replacing-redux-with-react-hooks/HEAD/v1/src/container/header.js -------------------------------------------------------------------------------- /v1/src/container/login.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sergioamjr/replacing-redux-with-react-hooks/HEAD/v1/src/container/login.js -------------------------------------------------------------------------------- /v1/src/index.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sergioamjr/replacing-redux-with-react-hooks/HEAD/v1/src/index.css -------------------------------------------------------------------------------- /v1/src/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sergioamjr/replacing-redux-with-react-hooks/HEAD/v1/src/index.js -------------------------------------------------------------------------------- /v1/src/logo.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sergioamjr/replacing-redux-with-react-hooks/HEAD/v1/src/logo.svg -------------------------------------------------------------------------------- /v1/src/serviceWorker.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sergioamjr/replacing-redux-with-react-hooks/HEAD/v1/src/serviceWorker.js -------------------------------------------------------------------------------- /v1/src/store/auth.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sergioamjr/replacing-redux-with-react-hooks/HEAD/v1/src/store/auth.js -------------------------------------------------------------------------------- /v1/src/store/config/config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sergioamjr/replacing-redux-with-react-hooks/HEAD/v1/src/store/config/config.js -------------------------------------------------------------------------------- /v1/src/store/config/connect.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sergioamjr/replacing-redux-with-react-hooks/HEAD/v1/src/store/config/connect.js -------------------------------------------------------------------------------- /v1/src/store/config/middleware.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sergioamjr/replacing-redux-with-react-hooks/HEAD/v1/src/store/config/middleware.js -------------------------------------------------------------------------------- /v1/src/store/config/provider.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sergioamjr/replacing-redux-with-react-hooks/HEAD/v1/src/store/config/provider.js -------------------------------------------------------------------------------- /v1/src/store/counter.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sergioamjr/replacing-redux-with-react-hooks/HEAD/v1/src/store/counter.js -------------------------------------------------------------------------------- /v1/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sergioamjr/replacing-redux-with-react-hooks/HEAD/v1/yarn.lock -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sergioamjr/replacing-redux-with-react-hooks/HEAD/yarn.lock --------------------------------------------------------------------------------