The Next.js Handbook
there is that emptytag in the HTML: 31 We'll soon fix this issue that fails to implement SSR and this harms both loading times for our users, SEO and social sharing as we already discussed. content}
> ) } we got this error: 37 How do we solve this? And how do we make SSR work for dynamic routes? We must provide the component with props, using a special function called post: posts[query.id], } } export default Post Now there will be no error, and SSR will be working as expected, as you can see checking view source: 40 The getInitialProps function0 码力 | 54 页 | 2.61 MB | 1 年前3
共 1 条
- 1













