Search engine optimization(SEO):

1: Provide Title, description and Meta information.

2: Sitemap: it is a file. It will keep all possible pages(links) of your app that we wanted to get indexed (improve the SEO).

3: robots.txt: it says,

4: canonical tags: canonical means identical. It says, This is the temporary page, the permanent page is some other page, and please don't index me, please go and index the permanent page that I have.

5: Use semantic HTML tags.

6: The better the page speed, the better the indexing. If your site is slow, then it will never be listed at the top. Note: Page speed affects SEO.

7: SSR is better.

8: SSG is better for both SEO and page speed because SSG is already generated and cached. If a request comes, then the SSG page is served quickly.

10: CSR is not good (use an alternative): on the server, generate static HTML for the crawler, but for all other users, I will make a CSR.

11: Shareable links :