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

Move lastAppProps back where it should be #1208

Merged
merged 3 commits into from
Feb 19, 2017
Merged

Conversation

timneutkens
Copy link
Member

Fixes #1061

@timneutkens timneutkens changed the title Check for lastAppProps Move lastAppProps back where it should be Feb 19, 2017
client/index.js Outdated
@@ -77,11 +77,10 @@ async function doRender ({ Component, props, err, emitter }) {
props = props || lastAppProps.props

const appProps = { Component, props, err, router, headManager }
lastAppProps = appProps
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you add a comment which this has to be before render ?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure!

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done 👍

@nkzawa
Copy link
Contributor

nkzawa commented Feb 19, 2017

Thanks!

@nkzawa nkzawa merged commit 20c7d98 into vercel:master Feb 19, 2017
@timneutkens timneutkens deleted the 1061 branch February 19, 2017 20:38
@rauchg
Copy link
Member

rauchg commented Feb 20, 2017

Good stuff @timneutkens

@lock lock bot locked as resolved and limited conversation to collaborators Jan 18, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants