|
Oberlev Daniil |
Shevchenko Timofey |
General
|
React |
TypeScript |
HTML |
CSS |
Vite |
Code quality
|
ESlint |
Prettier |
Stylelint |
├── public/ # Source folder with favicons
├── src/ # Source files of the project
│ ├── components/ # Folder with TS components
│ ├── styles/ # Folder with CSS styles
│ ├── main.tsx # Entry point of the application
│ └── index.css # Root style file
├── index.html # HTML file of the main page
├── SECURITY.md # File with security policy
└── README.md # README file with documentationnpm install
npm run devnpm run buildThe BogoSort component manages the state and functionality for performing the Bogo Sort algorithm.
- items: An array of numbers representing the items to be sorted.
- sorted: A boolean indicating whether the items are currently sorted in ascending order.
- itemCount: An integer representing the total number of items in the array.
- sorting: A boolean flag indicating whether the sorting process is currently in progress.
The BogoSort component utilizes these properties to display the current state of the sorting process and allows users to initiate the sorting algorithm when desired.