- Folder Structure:
- Naming conventions:
- React UI component’s names should be PascalCase.
Eg: HomePage.js - All other helper files should be camelCase.
Eg: dateFormatter.js - All the folder names should be camelCase
- CSS files should be named the same as the component PascalCase. Global CSS which applies to all components should be placed in index.css and should be named in camelCase
- CSS variables should be defined in index.css
- Font imports should be done in index.css
- React UI component’s names should be PascalCase.
- Codestyle:
- No hardcoded values, use constants values.
- Avoid multiple if/else and nested blocks.
- No commented out code.
- Add necessary comments.
- Remove all console.log()
- Treat props as read-only. Do not try to modify them
- No DRY violations. Create utility files to avoid duplicate code
- CSS:
- Use classNames everywhere. Do not use html tags to style.
- Use Hex color codes #000 unless using rgba().
- Avoid absolute positioning.
- Use flexbox.
- Avoid !important unless absolutely necessary.
- Do not animate width, height, top, left and others. Use transform instead.
- Avoid inline styles unless necessary.
- Use BEM naming convention
-
Notifications
You must be signed in to change notification settings - Fork 0
Excel2023Web/Resources
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published