Articles Tagged React

How to Add the lang Attribute to the Root of your Next JS Website without _document.js

How to Add the lang Attribute to the Root of your Next JS Website without _document.js

Learn how to add the lang attribute to the root of your Next JS website without creating a _document.js file

Dec 21, 2022

Next.js Highlight Current Page Link – How to Highlight the Active Link in Next.js

Next.js Highlight Current Page Link – How to Highlight the Active Link in Next.js

Learn how to dynamically highlight the active link in your Next.js project navigation for improved user experience

Aug 17, 2024

How to Create Environment Variables Inside next.config.js File and Use them

How to Create Environment Variables Inside next.config.js File and Use them

You can put your environment variables in a next.config.js file

Dec 24, 2022

Next JS Data Fetching: How to Fetch Data in a React Server Component

Next JS Data Fetching: How to Fetch Data in a React Server Component

Learn how to fetch data in React server components with Next.js for improved performance and SEO optimization
What is the Difference between a .js and .jsx File in React?

What is the Difference between a .js and .jsx File in React?

A JavaScript and JSX file are not exactly the same thing. There's one notable difference between them you can learn of in this article.

May 23, 2023

Next.js Layout Example – How to Add a Layout to your Next.js Website

Next.js Layout Example – How to Add a Layout to your Next.js Website

Master the technique of adding a unified layout across your Next.js website, featuring consistent headers, footers, and navigation.

Aug 24, 2024