Tag: Nextjs

  • Loading Skeleton in React

    React Suspense lets you show a loading indicator while your component data is being loaded (from a server) Here, I am rendering a blog page with Nextjs and fetching the blog post data from a WordPress REST API. I created a loading skeleton using some <div>’s and the TailwindCSS ‘animate-pulse’ class. Now with Nextjs, you…