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(ssr): getInitialProps should has history in csr #5898

Merged
merged 1 commit into from Dec 31, 2020

Conversation

Baoyx007
Copy link
Contributor

Checklist
  • npm test passes
  • commit message follows commit guidelines
Description of change

according to doc

getInitialProps 中有几个固定参数:
history:history 对象

@codecov
Copy link

codecov bot commented Dec 29, 2020

Codecov Report

Merging #5898 (91e1f6c) into master (9116e16) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #5898   +/-   ##
=======================================
  Coverage   83.37%   83.37%           
=======================================
  Files         155      155           
  Lines        3465     3465           
  Branches      934      914   -20     
=======================================
  Hits         2889     2889           
  Misses        568      568           
  Partials        8        8           
Impacted Files Coverage Δ
...s/renderer-react/src/renderRoutes/renderRoutes.tsx 96.77% <ø> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 9116e16...91e1f6c. Read the comment docs.

@ycjcl868 ycjcl868 merged commit fceb6e5 into umijs:master Dec 31, 2020
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.

None yet

2 participants