A tutorial on building universal web applications.
The web application is built with:
$ git clone https://github.com/remarkablemark/universal-react-tutorial.git
$ cd universal-react-tutorial
1. Server-side rendering with React:
$ git checkout v1
$ npm install
$ npm start
2. Building a universal/isomorphic app with React:
$ git checkout v2
$ npm install
$ npm start
3. Passing props in a universal React web app:
$ git checkout v3
$ npm install
$ npm start
4. Server-side routing with react-router@3:
$ git checkout v4
$ npm install
$ npm start
5. Client-side routing with react-router@3 (Part 1):
$ git checkout v5
$ npm install
$ npm start
6. Client-side routing with react-router@3 (Part 2):
$ git checkout v6
$ npm install
$ npm start
7. Universal rendering with React and Redux:
$ git checkout v7
$ npm install
$ npm start
8. Refactor a React app from ES5 to ES6:
$ git checkout v8
$ npm install
$ npm start
前言:在编程领域,Angular 和 React 对于前端开发人员来说是目前最流行的两款 JavaScript 框架。 2018 年版的 Stack Overflow Developer Survey 认为:Angular、React 和 Node.js 是所有软件工程师所公认的三大顶级编程框架。 无论是从流行程度、架构相似度,还是从基于 JavaScript 的角度考虑,这两种前端框架都有着诸多
�� Universal React Simple universal React application with server side rendering. Built using latest version of React (v16), React Router (v5+), Redux (v7+), Express (v5+), Webpack (v4+), Babel Preset
Universal React Redux Boilerplate A universal React/Redux boilerplate with sensible defaults. Out of the box, thisboilerplate comes with: Server-side rendering with Express Code splitting with dynamic
Koa React Universal koa2、react、react-universal-component、koa-webpack-server、async/await、code-splitting、hot-module-replacement、react-router4、redux-thunk This project is dedicated to build simple yet po
React Redux Universal Boilerplate Introduction I started this project to learn tools like React, Redux, Webpack, babeljs.io, ES6/ES2015... I did it mainly for fun. But it will be maintained and then I
Simple Universal React Redux The simplest possible Async Universal React & Redux boilerplate. This repo is an attempt to make the simplest server-side rendered (universal) async React Redux app. Boile
React Native Universal Monorepo An opinonated approach to supporting multiple platforms with React Native using a Yarn Workspaces monorepo. Check out Running React Native everywhere for an in-depth gu