React playground, a collection of react applications implemening various aspects and technologies needed in commercial products.
favicon-color-scheme- React application implementing a favicon that changes with the operating system color scheme (light or dark);i18next- React application illustrating a basic implementation of i18n (internationalization) using thei18nextand thereact-i18nextpackages;mermaid- React application illustrating the usage of Mermaid diagrams inside a React application;redux-sagas- React application illustrating the usage of Redux Sagas inside a React application;tic-tac-toe- React application implementing a simple version of the Tic-tac-toe game;sample- Sample React application to help bootstrap a new application inside this React playground.
Reactframework (with Typescript) for the overall application development;Typescriptcoding language;
pnPmas package manager;Rsbuildto bundle the application and serve it in development mode;
BiomeJSfor code formatting and linting;
From the project root folder, please execute any of the following commands in a terminal window:
# install all the application dependencies
pnpm i
# start the application in development mode
pnpm run dev --workspace=<name-in-package-json-file>
# build a version of the application for distribution
pnpm run build --workspace=<name-in-package-json-file>
# run the built version from the `dist` folder
pnpm run preview --workspace=<name-in-package-json-file>
# reset and reinstall the application
pnpm run nuke# run BiomeJS
pnpm run lint
# run BiomeJS and fix all automatically fixable problems
pnpm run lint:fix