Next.js is a JavaScript framework for React.js. Next.js takes all the good React offers to developers and makes it even better, enabling faster websites with better SEO.
In next.js, the file system enables routing in the application. It automatically treats every file with the extensions .js, .jsx, .ts, or .tsx under the pages directory as a route. Working of
useRouter hook is used to access the ‘router’ object inside any functional component of your application. Following is an example of useRouter() hook. import { useRouter } from 'next/router' export default function Page() { const
React is the most popular front-end framework for its modular design and easy-to-code declarative approach. However, vanilla React does not score well on the SEO scorecard. Techniques like Pre-rendering let us optimize React
This post will discuss on how to secure your web application from running on a different domain. Running your application on an unknown/hostile domain may lead to security issues like leaking of