react-bootstrap-webpack-starter

授权协议 Readme
开发语言 JavaScript
所属分类 Web应用开发、 常用JavaScript包
软件类型 开源软件
地区 不详
投 递 者 吴宝
操作系统 跨平台
开源组织
适用人群 未知
 软件概览

React 16+ Bootstrap webpack 4 Babel 7 with Hot Reload STARTER

FOSSA Status

ReactJS + Bootstrap starter with hot reload

Full client and server side in ES6+-ES2015+ using only React 16.3 Context API for state management.

Dev bundle connects context to redux devTools (yes you are not dreaming) to feel redux development experience in a pure Context API app. Contrary to a redux based app connecting to devTools is not automatic (you have to specify each pseudo-action you want to trace in devTools state).

Concept behind: this starter is an easy way to understand and ready to use ReactJS (ES6) + bootstrap + webpack starter with:

  • no hard core Webpack config so it is more commonly understandable (they are numerous amazing starters with incredible webpack configs — hard core configs aren't bad things at all! —. This one is just for easier understanding for people even discovering webpack)
  • with hot reload (ReactJS + webpack => hot reload = WINNER)
  • no flux (yes, to give you freedom to add then since you may want to use something else like observables?)
  • with JWT auth
  • ReactJS Components written with optimization tricks (stateless, pure render...).

Looking for server side rendering? check this project with SSR added here

Detailed Content

Front:

Tool chain:

  • babel 7+
  • eslint
  • hot reload
  • loaders
    • js / jsx
    • css
    • json
    • images formats
    • svg and fonts formats

tests:

  • Jest
  • enzyme

Usage

Install

npm install

bundle dev mode

npm run dev

dev : hot reload mode

npm run start

bundle size analyze

npm run analyze

tests

npm run test

bundle production mode

npm run prod

mini node-express server

with server hot reload (and dev bundle):

npm run serve-dev

without hot reload (and prod bundle):

npm run serve-prod

Donate

Do you use & ❤️ react-bootstrap-webpack-starter but you don’t find a way to show some love?If yes, please consider donating to support this project. Otherwise, no worries, regardless of whether there is support or not, I will keep maintaining this project. Still, if you buy me a cup of coffee I would be more than happy though ��

License

The MIT License (MIT)

Copyright (c) 2019 Erwan DATIN

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

FOSSA Status

  • 一款不包含框架(例如:Vue、React、Angular 等)的 Webpack 启动器 地址见:https://github.com/SinanMtl/webpack-simple-starter build/ # Webpack configurations config/ # Dev and prod configurations src/ # Project

  • 技术资料 官方权威 React【React官方学习文档·英文】 React-中文文档【React官方学习文档·中文 中国程序员的福利】 React github【React Github地址】 ReactNative【ReactNative Github地址】 react-router【React 路由框架 Github地址】 Redux 【Redux Github地址+附带学习Example】

  • 下面的示例项目可以从我的github上获取 为什么用TypeScript TypeScript为JavaScript这个弱类型语言添加了基本的类型检测以及对于ES6甚至ES7的一些高级语法的转移,在一定程度上相当于增强功能版的babel,现在的很多开源项目为了得到更好的项目管理和维护性能,使用了TypeScript或者Flow来为JavaScript添加强类型。 TypeScript添加了很多强类

 相关资料
  • React Bootstrap 是由 React 构建的 Bootstrap 3 组件,也是最受欢迎的前端框架之一。 一些组件示例: 更多组件示例点此查看

  • React-babel-webpack-es6 Starter Project A boilerplate using React, webpack and hot module reloading, and ES6 + JSX via Babel.You could use it as a base to build your own web app. Features The provided

  • React Webpack Typescript Starter Minimal starter with hot module replacement (HMR) for rapid development. React (17.x) Webpack (5.x) Typescript (4.x) Hot Module Replacement (HMR) (React Hot Loader) Pr

  • Webpack 5 boilerplate Webpack 5 boilerplate with support of most common loaders and modules: babel typescript (using ForkTsCheckerWebpack ) sass, less, css modules with automatic typescript declaratio

  • React Bootstrap Components 是一套用于构建 ReactJS 项目的 Bootstrap 组件 示例 安装 npm npm install --save bootstrap-components yarn yarn add bootstrap-components 启动 Demo 应用 git clone https://github.com/axiom-team/boot

  • Minimal Hapi + React + Webpack + HMR Sandbox This starter kit connects a hapi.js server with webpack dev server with react hot module reloading all set up. Very basic production config is also in plac