This is a public template to start up a preconfigured React app for best DX.
The main features of this template:
- Editor config - for human-readable line length, consistent space indentations and end of line rules.
- List of VS Code recommended extensions to enhance web developer experience.
Husky
git hooks manager that enables running scripts at various points in the Git workflow (e.g., pre-commit).Lint-staged
runs linters on staged files only, ensuring code quality and formatting before commits.Stylelint
helps maintain consistent and error-free CSS code by enforcing coding standards and catching syntax errors.Eslint
to enforce consistent coding styles and catch potential errors in your JavaScript code.TypeScript
enhances code quality and maintainability in web development by providing static typing and advanced tooling features.PostCSS
allows you to transform CSS with plugins, enabling features like autoprefixing, nesting, and custom syntax, enhancing your workflow and code quality.Tailwind CSS
utility-first, flexible CSS framework for rapid custom styling and responsive design, promoting a component-based approach.Browserslist
allows you to specify target browser versions for your project, ensuring compatibility and optimized performance across different environments. (Integrated with eslint, stylelint and babel)Babel
for transpilation to ensure compatibility with older browsers and to leverage modern JavaScript features through plugins.Vite
for fast, lightweight, modern build tool with instant HMR and native ES module support.Vitest
testing framework optimized for Vite projects, supporting unit and integration testing with instant feedback.React Testing Library
user centric, lightweight testing utility for React applications, encouraging best practices by focusing on component behavior rather than implementation details.Playwright
cross-browser automation tool for end-to-end testing, enabling fast and reliable testing of web applications across multiple platforms.GitHub Actions
CI/CD automation tool for building, testing, and deploying code directly from GitHub repositories, enabling seamless workflows.Lighthouse
automated tool for performance, accessibility, and SEO auditing of web pages, providing insights for optimization.PWA (Progressive Web App)
web application that uses service workers for offline capabilities, background syncing, and improved performance, delivering a native app-like experience.