Next JS

NextJS Server Actions

Understand Server actions in NextJS 14

Server actions in NextJS is very powerful feature introduces by the Vercel. Server Actions are asynchronous functions that are executed on the server. They can be used in Server and Client Components to handle form submissions and data mutations in Next.js applications. What are Server Actions in NextJS 14? Server Actions in nextJS 14 are asynchronous functions

Understand Server actions in NextJS 14 Read More »

Server-Side Rendering (SSR) and Static Site Generation (SSG)

Server-Side Rendering (SSR) and Static Site Generation (SSG)

Next js, a popular React framework, introduces powerful features like Server-Side Rendering (SSR) and Static Site Generation (SSG) to enhance the performance and user experience of web applications. These techniques address the challenges of traditional client-side rendering and provide solutions for improved search engine optimization (SEO), faster loading times, and efficient data fetching.

Server-Side Rendering (SSR) and Static Site Generation (SSG) Read More »

Next JS

Stylesheets and Script tag In Head Component of next js

Why This Error Occurred? Do not add stylesheets using next/head (see <link rel=”stylesheet”> tag with href=”https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/css/bootstrap.min.css”). Use Document instead. See more info here: https://nextjs.org/docs/messages/no-stylesheets-in-head-component Do not add <script> tags using next/head Next JS don’t recommend this pattern because it will potentially break when used with Suspense and/or streaming. In these contexts, next/head tags aren’t: guaranteed to

Stylesheets and Script tag In Head Component of next js Read More »

Tutorial - 1 How to install and create nextJS project

Create and install nextJS application

Next.js is a popular React-based framework for building server-rendered (or statically exported) web applications. It was developed by Vercel (formerly known as Zeit) and has been widely adopted by the JavaScript community due to its simplicity, performance, and developer experience. Here are some of the key features and benefits of Next.js: Server-side rendering (SSR): Next.js

Create and install nextJS application Read More »