Skip to content
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

fix: prerender not render dynamic routing #2636

Merged
merged 1 commit into from
Jun 19, 2019
Merged

Conversation

ycjcl868
Copy link
Contributor

@ycjcl868 ycjcl868 commented Jun 19, 2019

Checklist
  • npm test passes
  • tests are included
  • documentation is changed or added
  • commit message follows commit guidelines

prerender 插件不渲染动态路由

Description of change

@coveralls
Copy link

coveralls commented Jun 19, 2019

Pull Request Test Coverage Report for Build 4163

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 33.921%

Totals Coverage Status
Change from base Build 4160: 0.0%
Covered Lines: 1465
Relevant Lines: 4291

💛 - Coveralls

@sorrycc sorrycc merged commit aba6d82 into feat/ssr Jun 19, 2019
@delete-merged-branch delete-merged-branch bot deleted the fix-prerender-dynamic branch June 19, 2019 03:20
sorrycc added a commit that referenced this pull request Jun 19, 2019
* simply alias config

* fix files lost

* build extra ssr bundle

* implement ssr

* fix Invariant Violation

* render html automatically

* data flow

* fix memory history's pathname

* run getInitialProps if need

* code style

* fix ci

* fix ci again

* fix redundent getInitialProps execute

* extract findRoute and add testcases

* normalize data for g_initialData

* support dva

* fix unexpect getInitialProps call

* fix history undefined when config.disableGlobalVaribles is set

* fix findRoutes, Close #2552

* fix: umi external bug (#2560)

* fix: umi external bug

* add: umi and umi/ submodules

* fix: umi external

* fix: umi and umi/*

* support multiple template

* export htmlElement and rootContainer

* fix: 修复 history createMemoryHistory 报错 (#2572)

* Fix ssr hd (#2571)

* fix: 修复 ssr 下 hd document undefined

* add comment

* fix: 修复 ssr 下 css 文件重复 build 的问题 (#2582)

* feat: ssr 支持 dynamicImport (#2584)

* feat: pre render plugin (#2592)

* feat: pre render plugin

* fix: rename umi-plugin-prerender

* rm: .gitignore

* rm: pkg scripts

* fix: use lodash.uniq for test cases

* fix:  throw error when not enabled ssr

* test: cases

* rm: unnecessary pkg

* fix: 修复 React hooks 下多份 ReactDOM 实例报错 bug

* fix: 修复 antd plugin 在 ssr 下报错,ssr 下直接关闭

* fix: use findJS

* fix: test ci

* fix: export ReactDOMServer

* fix: ci test

* format: title

* rm: react and react-dom peer deps

* feat: export react-dom

* format: title code

* fix: locale 插件兼容 ssr,抛出 umi.server.js 错误 (#2602)

* fix: locale 插件兼容 ssr,抛出 umi.server.js 错误

* fix: code format

* 📝 ssr doc (#2607)

* tweak ssr warning (#2609)

* 💄 umijs ssr warning

* fix: warn

* fix: Umijs -> UmiJS

* Fix chunk map (#2616)

* fix: chunkMaps

* 📝 must enable manifest when use ssr

* fix: htmlTemplateMap use map

* fix: publicPath

* fix: yarn.lock

* upd: yarn lock

* Test cases ssr (#2631)

* test: htmlToJSX

* 🚧 af-webpack ssr tests cases

* test: umi-build-dev service

* test: htmlGenerator

* test: replaceChunkMaps

* test: prerender e2e, fix: ssr not generate manifest

* test: add e2e pre-render

* fix: server babel not use corejs

* fix: prerender not render dynamic routing (#2636)

* Fix prerender bug (#2644)

* fix: manifest basePath, and html2JSX

* fix: pre render a little polyfill

* feat: eggjs with umi ssr demo

* fix: mock window

* 📝 umi ssr faq

* rm: manifest

* rm: demo

* fix: .gitignore


Co-authored-by: 信鑫-King <chaolin.jcl@alibaba-inc.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants