Listing all the posts in reverse chronological order. To view the tags click here.
1 Jan 0001
The map() method creates a new array populated with the results of calling a provided function on every element in the calling array.
Array.prototype in JavaScript is an object that allows you to add properties and methods to all array instances. When you create an array in JavaScript, it automatically inherits properties and methods from Array.prototype.
Array.prototype
In JavaScript, a primitive (primitive value, primitive data type) is data that is not an object and has no methods. There are 7 primitive data types: string, number, bigint, boolean, undefined, symbol, and null.
Server-side rendering (SSR) is an application’s ability to convert HTML files on the server into a fully rendered HTML page for the client. The web browser submits a request for information from the server, which instantly responds by sending a fully rendered page to the client.
Refs provide a way to access DOM nodes or React elements created in the render method.
Hooks are a new addition in React 16.8. They let you use state and other React features without writing a class.
In React Router, the Link component is used to create navigation links that allow users to navigate between different routes in a single-page application (SPA). Instead of performing a full page reload, the Link component allows React to handle navigation internally, ensuring fast transitions and preserving the app’s state.
Link
In React Router, the Outlet component is a placeholder for nested routes. It allows you to render child routes inside a parent route’s component. When you define nested routes, Outlet acts as a container to display the matching child route’s content within the parent route layout.
Outlet
In React Router, useNavigate is a hook that provides imperative navigation capabilities. It allows you to programmatically navigate to different routes within your application without needing to interact with the rendered UI components (like Link or NavLink). This is useful in scenarios where you want to redirect a user after an action, such as form submission, authentication, or any custom logic.
useNavigate
NavLink