All Projects → wahengchang → React Redux Boilerplate

wahengchang / React Redux Boilerplate

Licence: mit
It is a boilerplate of React-Redux as the infrastructure, which helps to setup a Web APP quickly

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to React Redux Boilerplate

React Redux Boilerplate Example
Stars: ✭ 15 (-86.73%)
Mutual labels:  isomorphic, tutorial, example, boilerplate
Razzle Material Ui Styled Example
Razzle Material-UI example with Styled Components using Express with compression
Stars: ✭ 117 (+3.54%)
Mutual labels:  universal, isomorphic, example, boilerplate
Universal React Tutorial
📓 How to build universal web apps with React.
Stars: ✭ 136 (+20.35%)
Mutual labels:  universal, isomorphic, tutorial
Koa React Universal
lightweight React-Koa2 universal boilerplate, only what is essential
Stars: ✭ 112 (-0.88%)
Mutual labels:  universal, isomorphic, boilerplate
Wordpress Plugin Boilerplate Tutorial
Tutorials and Examples for WordPress Plugin Boilerplate, a foundation for WordPress Plugin Development.
Stars: ✭ 232 (+105.31%)
Mutual labels:  tutorial, example, boilerplate
Arc
React starter kit based on Atomic Design
Stars: ✭ 2,780 (+2360.18%)
Mutual labels:  universal, isomorphic, boilerplate
Expo Three Demo
🍎👩‍🏫 Collection of Demos for THREE.js in Expo!
Stars: ✭ 76 (-32.74%)
Mutual labels:  tutorial, example, boilerplate
React Redux Styled Hot Universal
react boilerplate used best practices and focus on performance
Stars: ✭ 147 (+30.09%)
Mutual labels:  universal, isomorphic, boilerplate
Vortigern
A universal boilerplate for building web applications w/ TypeScript, React, Redux, Server Side Rendering and more.
Stars: ✭ 647 (+472.57%)
Mutual labels:  universal, isomorphic, boilerplate
Suicrux
🚀 Ultimate universal starter with lazy-loading, SSR and i18n. [not maintained]
Stars: ✭ 958 (+747.79%)
Mutual labels:  universal, example, boilerplate
Jose
Universal "JSON Web Almost Everything" - JWA, JWS, JWE, JWT, JWK with no dependencies
Stars: ✭ 1,029 (+810.62%)
Mutual labels:  universal, isomorphic
Push Starter
React Redux Starter with SSR 🤖
Stars: ✭ 43 (-61.95%)
Mutual labels:  universal, isomorphic
Universal React Demo
ES6 demo of a simple but scalable React app with react-router, code splitting, server side rendering, and tree shaking.
Stars: ✭ 50 (-55.75%)
Mutual labels:  universal, isomorphic
Unityraymarching
Unity Raymarching Examples
Stars: ✭ 57 (-49.56%)
Mutual labels:  tutorial, example
React Boilerplate
Production-ready boilerplate for building universal web apps with React and Redux
Stars: ✭ 53 (-53.1%)
Mutual labels:  universal, boilerplate
Reactnativecodereuseexample
Shows how to organize your code to reuse it as much as possible between Web, iOS and Android
Stars: ✭ 41 (-63.72%)
Mutual labels:  tutorial, example
React Base
atSistemas React/Redux Isomorphic Platform
Stars: ✭ 82 (-27.43%)
Mutual labels:  universal, isomorphic
Webpack Isomorphic Dev Middleware
The webpack-dev-middleware, but for isomorphic applications
Stars: ✭ 38 (-66.37%)
Mutual labels:  universal, isomorphic
Danf
Danf is a Node.js full-stack isomorphic OOP framework allowing to code the same way on both client and server sides. It helps you to make deep architectures and handle asynchronous flows in order to help in producing scalable, maintainable, testable and performant applications.
Stars: ✭ 58 (-48.67%)
Mutual labels:  universal, isomorphic
Preact Redux Isomorphic
preact-redux-isomorphic PWA SPA SSR best practices and libraries in under 80kB page size (for live demo click the link below)
Stars: ✭ 85 (-24.78%)
Mutual labels:  isomorphic, boilerplate

react-redux-boilerplate

  • It is React-Redux as infrastructure boilerplate, with this developers just focus on developing component, action creator and reducer, without spending time in router, dev/pro build enviroement, wiring up file and express as HTTP server.

Read more

Install

$ git clone https://github.com/wahengchang/react-redux-boilerplate
$ npm install

Run (Develop Mode)

It is runnign in Development mode, enable HMR

$ npm run dev
open http://localhost:3000/

Run (Production Mode)

  • Compiling react/redux script to browser use lib, with webpack default optimized config.
  • Disable unnecessary funtionality which helps to debug in development mode
$ npm run build
$ node dist/server.js 

lint

lint fix

$ npm run lint:fix

lint check

$ npm run lint

Storybook

$ npm run storybook

Test

More detail: about test of action creater, component, container and reducer

$ npm run test


Test Suites: 4 passed, 4 total
Tests:       6 passed, 6 total
Snapshots:   0 total
Time:        1.824s, estimated 2s

or watch mode

$ npm run test:watch

Server Rendering Structure

Server Rendering structure Above is the structure of how the whole app works, the app bases on Express web framework, which serves only one route, with res.sendFile function to put index.html into the browser. Inside the scoop of the structure, what we are interested is the blue box, the interaction between react component, redux, root component, store and reducer.

Shared Components

react-redux-universial-container-compont

React-Redux Structure

react-helloworld-component-5-20 index.js , as the entry file and a high level root component, which gathers all the sub-component as the subtree of the Virtual DOM, also it is the only file entangled with many independent modules. Apart from it, different file requires independent modules, which makes clean code and work independently.

Credit

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].