alibaba / beidou

:milky_way: Isomorphic framework for server-rendered React apps

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Beidou

🌌 Isomorphic framework for server-rendered React apps

NPM version build status Test coverage NPM Downloads Gitter Node

Chinese Documentation - 中文文档

Features

  • ✔︎ High performance, 2-5 times speedup compares to client-side rendering
  • ✔︎ Search engine optimization(SEO)
  • ✔︎ ES6/ES7/ES8 supported
  • ✔︎ TypeScript supported
  • ✔︎ React renderToNodeStream supported
  • ✔︎ SCSS/Sass with autoprefixer supported
  • ✔︎ Auto router supported
  • ✔︎ Extends default webpack config supported
  • ✔︎ View rendering middleware supported
  • ✔︎ User-friendly CLI tool
  • ✔︎ Lots of plugins

Release 2.0

New Features

  • BREAKING CHANGE: Upgrade internal babel to 7

  • BREAKING CHANGE: Upgrade internal webpack to 4

  • Completely TypeScript Support, enable with one line config:

// package.json

{
  "config": {
    "typescript": true
  }
}

see typescript example for more detail.

Quick start

$ npm install beidou-cli -g
$ beidou init
$ npm run dev

Navigate to http://localhost:6001/

Boilerplate

Documentation

Articles

Performance

  • Isomorphic rendering performance VS client side rendering performance in 3G network

isomorphic vs performance

  • Performance comparison in different network environment

isomorphic vs performance

Need Help?

Please let us know how can we help. Do check out issues for bug reports or suggestions first.

DingTalk group supported

DingTalk Group Number: 23374510

License

MIT

About

:milky_way: Isomorphic framework for server-rendered React apps

License:MIT License


Languages

Language:JavaScript 98.2%Language:Less 0.7%Language:Makefile 0.5%Language:Shell 0.4%Language:HTML 0.1%Language:SCSS 0.0%