March 9, 2019

301 words 2 mins read

alibaba/beidou

alibaba/beidou

:milky_way: Isomorphic framework for server-rendered React apps

repo name alibaba/beidou
repo link https://github.com/alibaba/beidou
homepage
language JavaScript
size (curr.) 20493 kB
stars (curr.) 2590
created 2017-06-12
license MIT License

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

comments powered by Disqus