What was that snippet tool you popped up? Thanks.
If you're using pages router looks like the docs suggest it's doable to do this as well, would be interested to see an implementation of it
Since the deals probably don't update that often, why not just pre-render the page and then do something like revalidatePath/Tag from an API route to on demand for the page to be rebuilt when you've updated content in your database? No reason to make this thing dynamic.
There is only one major pitfall, async generateMetadata will block rendering loading component and will increase TTFB Issue with this is already submitted and all we have to do is wait for them to fix it
Great content as always, keep it up J!
Pretty awesome vd sir and I will definitely try this, it's very important. Thanks so much for your efforts.
does this also not work if you wrap the component when it's being rendered with a suspense? Is what you're trying to say that you can either wrap it with a suspense yourself or add the loading.tsx so it handles that for you?
Thanks for letting us know. Just a query will SEO be affected by this?
I think it doesn't support SSR, absolutely when JavaScript has been disabled. for example in the company that i work there, the marketing team ask me that the content should be visible when JavaScript is disable. I would be happy to hear other experience.
Ok, but whats google index sees? Will it penalize you?
It’s even better if you don’t do asynchronous calls in the main component and then create skeletons for individual components and use suspense as needed, not the default fallback
What if I have one static component and one asynchronous component and I want the static one to load immediately ? If I put the loading as you did it will block the whole page
Thanks for the tip! I would like to know if it breaks the SEO?
I have a data fetching from server and also added loading.js along with suspense fallback, but core vitals are bad, it shows maximum execution time is 10s which is slow. How can I fix it?
Very nice. Thanks!
Amazing content!!! Thank you!
it still is slow since loading.js is sent from the server if the internet is slow then it still feels like unresponsive
I love these straight to the point videos, thanks. BTW. Your text cursor is too distracting
i am just shoked how hard it is for ppl top read documentation :D
@codeSTACKr