Given the following code snippet, will the page be rendered statically or dynamically? Explain your reasoning.
// app/blog/[slug]/page.tsx export default function PostPage({ params }: { params: { slug: string } }) { return ( <div> <h1>{params.slug}</h1> </div> ); }
Q9: Explain the difference between static rendering and dynamic rendering in your own words. Provide a real-world example of when you would use each.Q10: Imagine you are building an e-commerce website. Which rendering strategy would you choose for the product pages and why? Consider factors like SEO, page load speed, and content updates.
This content is only available to registered users.Please register at the the home page.