A basic boilerplate setup for React 18 applications with modern best practices. This boilerplate is ideal for developers who want a minimal, customizable starting point for their projects without relying on frameworks.
- React 18 with Concurrent Rendering: Leverages React's
createRoot
API for optimal performance. - TypeScript Ready: Provides static typing for scalable and maintainable development.
- Babel and Webpack: Configured for ES6+ and JSX transpilation with hot module reloading.
- Modern Folder Structure: Organized for clarity and ease of scaling.
- Customizable: Minimal dependencies to allow full control over the development environment.
- Accessibility First: Built with accessibility in mind to ensure inclusive user experiences.
Follow these steps to set up and run the boilerplate locally:
- Node.js (v14+)
- npm or yarn
-
Clone the repository:
git clone https://github.com/roladev/react-boilerplate.git cd react-boilerplate
-
Install dependencies:
npm install # or yarn install
-
Run the development server:
npm start # or yarn start
-
Build for production:
npm run build # or yarn build
Contributions are always welcome!
- Fork the repository
- Create your feature branch (git checkout -b feature/AmazingFeature)
- Commit your changes (git commit -m 'Add some AmazingFeature')
- Push to the branch (git push origin feature/AmazingFeature)
- Open a pull request
I'm a frontend engenieer working on TypeScript, React and NextJS with strong focus on Accessibility.