All Projects → peter-mouland → React Lego

peter-mouland / React Lego

Licence: mit
React-lego : incrementally add more cool stuff to your react app

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to React Lego

Award
⚙基于react的服务端渲染框架
Stars: ✭ 91 (-78.18%)
Mutual labels:  webpack, koa, ssr, react-router
After.js
Next.js-like framework for server-rendered React apps built with React Router
Stars: ✭ 4,051 (+871.46%)
Mutual labels:  webpack, ssr, react-router
React Router Server
Server Side Rendering library for React Router v4.
Stars: ✭ 443 (+6.24%)
Mutual labels:  webpack, ssr, react-router
Loadable Components
The recommended Code Splitting library for React ✂️✨
Stars: ✭ 6,194 (+1385.37%)
Mutual labels:  webpack, ssr, react-router
React 5ddm
5d动漫,使用React,服务端渲染,接口(不开源)来自赞片CMS。仅供参考,交流群:14646823 欢迎加入
Stars: ✭ 50 (-88.01%)
Mutual labels:  webpack, ssr, react-router
Dianpinplus
从零开始使用React全家桶开发电商系统
Stars: ✭ 135 (-67.63%)
Mutual labels:  webpack, koa, react-router
Ice
🚀 The Progressive App Framework Based On React(基于 React 的渐进式应用框架)
Stars: ✭ 16,961 (+3967.39%)
Mutual labels:  webpack, ssr, react-router
Reeakt
A modern React boilerplate to awesome web applications
Stars: ✭ 116 (-72.18%)
Mutual labels:  webpack, ssr, react-router
Koa Mobx React Starter
A straightforward starter for Node javascript web projects. Using Koa, MobX and ReactJS (with universal / isomorphic server rendering)
Stars: ✭ 102 (-75.54%)
Mutual labels:  webpack, koa, react-router
Koa React Isomorphic
Boilerplate for Koa & React
Stars: ✭ 128 (-69.3%)
Mutual labels:  webpack, koa, ssr
Vue Webpack Config
Koa2、Webpack、Vue、React、Node
Stars: ✭ 151 (-63.79%)
Mutual labels:  webpack, koa, ssr
react16-seed-with-apollo-graphql-scss-router4-ssr-tests-eslint-prettier-docker-webpack3-hot
Seed to create your own project using React with Apollo GraphQL client
Stars: ✭ 19 (-95.44%)
Mutual labels:  react-router, ssr
giog
It's based on githud issues and built with Vue 2.x, vue-router & vuex with server-side rendering by koa
Stars: ✭ 14 (-96.64%)
Mutual labels:  koa, ssr
egg-nuxt
The Nuxt plugin for eggjs
Stars: ✭ 23 (-94.48%)
Mutual labels:  koa, ssr
Rockpack
Rockpack is a simple solution for creating React Application with Server Side Rendering, bundling, linting, testing within 5 minutes
Stars: ✭ 265 (-36.45%)
Mutual labels:  webpack, ssr
react-ssr
从零搭建一个react-ssr框架 解决页面js事件 样式同构 服务器客户端路由 数据注水脱水等问题
Stars: ✭ 42 (-89.93%)
Mutual labels:  react-router, ssr
Reactgo
Your One-Stop solution for a full-stack universal Redux App!
Stars: ✭ 2,784 (+567.63%)
Mutual labels:  webpack, react-router
Quickbill
Create unlimited invoices for free.
Stars: ✭ 278 (-33.33%)
Mutual labels:  webpack, react-router
React Loadable
⏳ A higher order component for loading components with promises.
Stars: ✭ 16,238 (+3794%)
Mutual labels:  webpack, ssr
elegant-react-ssr
Server-side rendering with create-react-app, React Router v4, Helmet, Redux, and Thunk boilerplate, without ejecting CRA
Stars: ✭ 16 (-96.16%)
Mutual labels:  react-router, ssr

This version is currently being update for 2018. The previous react-lego, with older version of tech and upgrade paths, can be found react-lego-2017

React Lego 2018 CircleCI

The building blocks of a react app

This repo demonstrates how to plug in other technologies, one block at a time, into React.

Hear me out!

The concept is to use GitHub's branch-comparison screens to quickly demo the code changes that are needed for only the technology you are interested in.

A client-side React app which is fully tested and production ready on the master branch.
From Master, Server-side Rendering (SSR) has been added with Koa v2 (for Express see react-lego-2016).
Every other branch then adds one more technology, with the smallest possible changes.

All branches, have been setup with continuous deployment.

>> More about the react-lego concept

What else the Base React app have?

It is production ready and fully tested :

All other branches include the above and build on this base.

Technology to Add:

All branches use babel v7, React v16.2, react-router v4, Webpack v4 unless otherwise stated

The Code changes column is where you go if you want to see how the code changed from the previous branch. This is a great place to see how to do it yourself.

Category Code changes App size (node_modules) Comparator kb
Client-side Rendering React 23kb (+152kb)
Server-side Rendering add Koa v2 22kb (+153kb)
CSS add CSS Imports 22kb (+153kb ) CSS Modules >> More about adding CSS
State Management add Redux 22kb (+188kb) >> More about adding Redux

Previous branches still to be updated

These branches are from React Lego 2017 and are on my 'todo' list to update!

Category New Tech Code changes Client-side App (kb) Comparator kb
Client-side Rendering Preact > Preact code vs React tbc >> More about adding Preact
State Management Async routes add async routes tbc >> More about adding Promise middleware
Assets Importing SVGs
Assets Responsive Images with PNGs
Data API GraphQL add GraphQL tbc Apollo tbc

What else ?

I have a few articles that may be interesting to read covering all the branches in this repo: >> wiki


** Something missing? Please see react-lego-2017 or react-lego-2016 or submit a feature request!**


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