-
Notifications
You must be signed in to change notification settings - Fork 262
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
支持 renderToNodeStream #124
Labels
Comments
njugray
added a commit
that referenced
this issue
Dec 7, 2018
njugray
added a commit
that referenced
this issue
Dec 13, 2018
* feat: support render to stream #124 * examples: stream render * docs(view-react): add stream render doc
njugray
added a commit
that referenced
this issue
Dec 13, 2018
* feat: support render to stream #124 * examples: stream render * docs(view-react): add stream render doc
@andong-lad supported in v1.1.0 |
njugray
added a commit
that referenced
this issue
Jan 15, 2019
* docs: add issue and pr templates * fix(webpack): url parse error under proxy #34 * chore(release): publish v1.0.0-beta.2 * fix(beidou-webpack): remove hash name while not using module in css loader, add client alias * feat(babel-preset-beidou-client): support custom babel browserslist * fix(cli): init boilerpalte usage info config; doc: update router, view react, babel-client * fix(cli): ut(dev and debug) process not killed * fix(webpack): dump config error fix: ci broken * chore(release): publish v1.0.0-beta.3 * fix(webpack): ignore error while not found root file entry * docs: add 1.0.0 changelog * docs: README * chore(release): publish v1.0.0 * chore(eslint): upgrade eslint version * test: `getInitialProps view middleware` * fix: initialprops * add example with-react-loadable (#51) Example request: #46 * chore(release): publish v1.0.3 * examples: add hot reload patch, fix #45 (#56) * feat: framework config when running beidou build (#57) * feat: framework config when running beidou build * chore(release): publish v1.0.4 * fix: wrong bin file excuted in windows #63 (#65) * fix: wrong bin file excuted in windows #63 * fix(cli): build file path * chore(release): publish v1.0.5 * examples: typescript * chore: script bootstrap * exmaples: fix config of ts e.g. * docs: update * fix: build error when env is not `local` (#70) * chore(release): publish v1.0.6 * chore: travis env alt 9 -> 10 * fix(webpack): reload `loader.dirs` * chore(release): publish v1.0.7 * test: skip cli init test case for timeout * chore: update yarn lock files * test: skip cli test cases temporarily * chore: deps for unittest * fixed typo error (#73) * fix(webpack): isomorphic webpack set __webpack_public_path__ default value, fix #76 (#78) * chore(release): publish v1.0.8 * examples: add example react-redux-router-typescript (#89) * add example react-redux-router-typescript * chore: npm scripts & license * fix: public path & router * 缩进调整 * 调整配置 * Fix error code examples * fix: rax ut failed as enabled `beautify` option * chore: docs & lock files * chore: travis config * chore: skip rax test for weird `super` problem in travis CI * fix:缓存逻辑在win下面的bug修复 (#101) fix #71 * chore(release): publish v1.0.9 * chore: fix test * chore: upgrade lerna * feat: upgrade to babal 7 webpack 4 this is a BREAKING CHANGE * fix: unittest * fix: babel config combination * feat: enable babelrc files by default * chore: put common deps into root for dev usage * example: ugrade with-typescript example * fix(webpack): build option --dev * chore(webpack): unittest * chore(react): unittest * chore: code format * chore: code prettier * feat: set node-sass as optional dependency * feat: completely babel runtime for node (#123) fix: #122 * feat: support render to stream (#126) * feat: support render to stream #124 * examples: stream render * docs(view-react): add stream render doc * chore: fix codecov * feat: upgrade rax view plugin * fix: loader & rule test * unittest: fix fixture * feat: add new package `beidou` reference to `beidou-core` * chore(release): publish v2.0.0-alpha.0 * fix: A bug exsit in uglifyjs-webpack-plugin after v2.0.1 for webpack4,use terser-webpack-plugin instead * feat(webpack): entry loader depth support fix #48 * fix: remove static config in prod This config file forced users must provide config.{prod}.js to overwrite default config in framework. * unittest: webpack entry depth test * feat(cli): boilerplate tag config * example:fix pkg.json * chore(release): publish v2.0.0-alpha.1 * feat(cli): add `--skipInstall` option * chore: fix ci * chore: fix build cmd test * test: ci * test: dump ci test log * fix(router): path resolve * feat: zero config ts support * example: use less in default * chore: remove comments & unittest * fix(cli): fetch tarball with tag * chore: unittest * chore: fix CI empty cwd * feat: auto detect view extension * unittest: improve test coverage * example: update * example: update * chore(release): publish v2.0.0-beta.0 * chore: upgrade lerna * chore: version bump * feat: (unrelease) add beidou plugin for egg framework * feat: (unrelease)add the README * Revert "chore: version bump" This reverts commit 33e0fe2. * feat: export setGlobal function in beidou-isomorphic * Revert "Revert "chore: version bump"" This reverts commit 5704709. Revert "feat: (unrelease)add the README" This reverts commit d415b8c. Revert "feat: (unrelease) add beidou plugin for egg framework" This reverts commit cc54167. * fix(core): d.ts * fix(router): config * fix(cli): framework name reference * fix(webpack): default resolve exts * fix(webpack): optimize config of SplitChunksPlugin * fix(webpack): optimize config of SplitChunksPlugin * fix(webpack): cache groups enforce option * fix(router): config for exts * docs: README
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
React 16 现已支持 Stream:
https://reactjs.org/docs/react-dom-server.html#rendertonodestream
是否可以考虑拆分 layout 和 container。先渲染出 layout 前半部分,然后渲染 container,pipe 到 res 上。stream end 之后,渲染 layout 后半部分。缩短首字节时间。
ReactDOMServer.renderToNodeStream(element)
The text was updated successfully, but these errors were encountered: