Boilerplate project for learning React (& its main libraries commonly used) with the theme: Old School Game Library.
The branchs are organized in cronological order.
-
πΆ master branch: a react-create-app with Eslint (AirBNB codestyle) and Prettier support. Also has .editorconfig and .gitignore files. Contains this README which explains all branchs.
-
#οΈβ£ basic-js branch: this branch is a react-create-app boilerplate from master branch + project structure, layouts, components and routing. Ant Design + Ant Motion for layouting and Enzyme + Sinon for tests are added to the app.
-
β¨ basic-redux branch: basic-js branch + React Redux added to manage the app state.
-
π redux-saga branch: basic-redux branch + Redux Saga added to manage side effects.
-
π£ hooks branch: redux-saga branch + connected-router-redux + HOOKS FOR EVERY COMPONENT (bye React Classes, hello fully functional SPA) [all tests rewritten + tests for Reducers and Sagas]. This version updated React from version 16.8.6 to 16.9.0.
-
β‘ majestic branch: hooks branch + PROCESS ENVS + majestic added as a UI for Jest
-
π¦ react-testing-library branch: majestic branch + react-testing-library replacing enzyme
-
π storybook branch: react-testing-library branch + Storybook added for UX testing components
-
π styled-components branch: storybook branch + code refactoring using styled-components for the styling
-
π· worker branch: styled-components branch + web worker for keeping the big scripts off the main thread
-
π± mobile branch: worker branch + partial mobile support and some tests fixes
The demo (which is based in the mobile branch) is available here: https://oldschool-react.netlify.com