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

Update analyze-bundles and withTypescript examples with getInitialProps to SSG #11014 #11025

Closed
wants to merge 6 commits into from

Conversation

tajpouria
Copy link

Using getStaticProps on analyze-bundles as you committed also update examples/typescript
#11014

}

export default InitialPropsDetail
// Fetch data on each request.
export const getServerSideProps: GetServerSideProps = async ({ query }) => {
Copy link
Member

Choose a reason for hiding this comment

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

This should be updated to use getStaticProps + getStaticPaths I think

@tajpouria tajpouria closed this Mar 13, 2020
@vercel vercel locked as resolved and limited conversation to collaborators Jan 31, 2022
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.

None yet

2 participants