All Projects β†’ mikechabot β†’ React Boilerplate

mikechabot / React Boilerplate

Licence: mit
A slightly opinionated yet dead simple boilerplate for React 17.x, Webpack 5 and React Router v5

Programming Languages

typescript
32286 projects

Projects that are alternatives of or similar to React Boilerplate

Express React Boilerplate
πŸš€πŸš€πŸš€ This is a tool that helps programmers create Express & React projects easily base on react-cool-starter.
Stars: ✭ 32 (-79.75%)
Mutual labels:  webpack, boilerplate, code-splitting
React Starter Kit
React, Redux, Webpack, Material UI, Boostrap 4, Code Splitting, HMR
Stars: ✭ 229 (+44.94%)
Mutual labels:  webpack, boilerplate, code-splitting
React Redux Universal Boilerplate
An Universal ReactJS/Redux Boilerplate
Stars: ✭ 165 (+4.43%)
Mutual labels:  webpack, boilerplate, code-splitting
React Boilerplate
Production-ready boilerplate for building universal web apps with React and Redux
Stars: ✭ 53 (-66.46%)
Mutual labels:  webpack, boilerplate, code-splitting
Redux React Starter
DEPRECATED use the new https://github.com/didierfranc/react-webpack-4
Stars: ✭ 137 (-13.29%)
Mutual labels:  webpack, boilerplate
React Starter Boilerplate Hmr
React starter boilerplate with React Fast Refresh, React 17 and Webpack 5
Stars: ✭ 137 (-13.29%)
Mutual labels:  boilerplate, code-splitting
Eleventy Starter Boilerplate
πŸš€ Eleventy Starter is production-ready with SEO-friendly for quickly starting a blog. ⚑ Built with Eleventy, ESLint, Prettier, Webpack, PostCSS, Tailwind CSS and Netlify CMS (optional).
Stars: ✭ 139 (-12.03%)
Mutual labels:  webpack, boilerplate
Iceberg
Front-End Boilerplate built with React + Babel + Webpack + SASS
Stars: ✭ 144 (-8.86%)
Mutual labels:  webpack, boilerplate
Webpack Starter
✨ A lightweight foundation for your next webpack based frontend project.
Stars: ✭ 1,745 (+1004.43%)
Mutual labels:  webpack, boilerplate
Project Webcube
Continuously updated JS infrastructure for modern web dev
Stars: ✭ 141 (-10.76%)
Mutual labels:  webpack, boilerplate
Js Stack Boilerplate
Final boilerplate code of the JavaScript Stack from Scratch tutorial –
Stars: ✭ 145 (-8.23%)
Mutual labels:  webpack, boilerplate
React Pages Boilerplate
Deliver react + react-router application to gh-pages
Stars: ✭ 134 (-15.19%)
Mutual labels:  webpack, boilerplate
Fe Interview
πŸ˜ƒ 每ζ—₯δΈ€ι“η»ε…Έε‰η«―ι’θ―•ι’˜οΌŒδΈ€θ΅·ε…±εŒζˆι•Ώγ€‚
Stars: ✭ 134 (-15.19%)
Mutual labels:  webpack, promise
Code Splitting React Webpack
An example of how to code split with Webpack 2 and React Router
Stars: ✭ 138 (-12.66%)
Mutual labels:  webpack, code-splitting
Universal Native Boilerplate
Build apps for every native platform with React and React Native
Stars: ✭ 131 (-17.09%)
Mutual labels:  webpack, boilerplate
Webpack Require From
Webpack plugin that allows to configure path or URL for fetching dynamic imports
Stars: ✭ 142 (-10.13%)
Mutual labels:  webpack, code-splitting
React Redux Styled Hot Universal
react boilerplate used best practices and focus on performance
Stars: ✭ 147 (-6.96%)
Mutual labels:  webpack, boilerplate
React Laravel Boilerplate
A Laravel REST API backend with React/Redux, hot module reloading in development and route-level code splitting
Stars: ✭ 146 (-7.59%)
Mutual labels:  boilerplate, code-splitting
Kirby Webpack
πŸ’ͺ A Kirby CMS starter-kit with modern frontend tools
Stars: ✭ 150 (-5.06%)
Mutual labels:  webpack, boilerplate
Spring React Boilerplate
An example of an isomorphic application using Java + Spring with React, React Router and Redux
Stars: ✭ 156 (-1.27%)
Mutual labels:  webpack, boilerplate

logo

A slightly opinionated yet dead simple boilerplate for ReactJS, Webpack 4, and React Router v4.

❀️ Async chunk loading
❀️ Typescript
❀️ React 17
❀️ Webpack 5
❀️ React Router v5
❀️ Redux v4
❀️ Code splitting


Table of Contents

Live Demo

http://mikechabot.github.io/react-boilerplate


Features

Build Process

State Management

Routing

HTTP

Styling

Develop & Deploy


Getting Started

  1. $ git clone https://github.com/mikechabot/react-boilerplate.git
  2. $ npm install
  3. Launch environment:
  4. Build assets for production:
    • $ npm run build:prod

Custom Configuration

Use cross-env or a comparable library/command to set the ENV_CONFIG_PATH to the path of your JSON configuration file:

$ cross-env ENV_CONFIG_PATH=/path/to/config.json npm start

Note: This path is made available to Webpack only, however the contents of the file are stamped on a global variable during the build process (process.env.APP_CONFIG, see webpack.config.js), which is then accessible via the ConfigService.

If your configuration is loaded successfully, you can expect to see the following indicator during startup:

** Using custom configuration located at "/path/to/config.json" **

Example

Using configuration file @ C:\_workspaces\custom-config.json

$ cross-env ENV_CONFIG_PATH="C:\_workspaces\custom-config.json" npm start

> [email protected] start C:\_workspaces\react-boilerplate
> npm run build:prod && npm run start-prod-server


> [email protected] build:prod C:\_workspaces\react-boilerplate
> npm run clean && cross-env NODE_ENV=production webpack --progress --colors


> [email protected] clean C:\_workspaces\react-boilerplate
> rm -rf ./docs

** Using custom configuration located at "C:\_workspaces\custom-config.json" **
                    __      __        _ __             __     __
  _______ ___ _____/ /_____/ /  ___  (_) /__ _______  / /__ _/ /____
 / __/ -_) _ `/ __/ __/___/ _ \/ _ \/ / / -_) __/ _ \/ / _ `/ __/ -_)
/_/  \__/\_,_/\__/\__/   /_.__/\___/_/_/\__/_/ / .__/_/\_,_/\__/\__/
                                              /_/
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚                                                                    β”‚
β”‚             Mike Chabot | Version 5.0.0 | License MIT              β”‚
β”‚                                                                    β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
<s> [webpack.Progress] 0% compiling
<s> [webpack.Progress] 10% building 0/0 modules 0 active
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].