Nested Route and Index Route in ReactJSImplementation : import { BrowserRouter,Routes,Route } from "react-router-dom" And we have to install that react router for installation we have to write the script - npm i react-router-dom 1) Simple Route import { BrowserRouter,Routes,Route } from "...2 min read·rahulxf.devJan 10, 2024
Creating 2D array by different ways?// 1) Simple One to Create 2D array int arr[3][2]={{1,2}, {3,4}, {5,6}}; for (int i = 0; i < 3; i++) { for (int j = 0; j < 2; j++) { cout<<arr[i][j]<<" "; } cout<<endl; } // ...2 min read·rahulxf.devSep 13, 2023
Let's Discuss about Pug?Pug is engine template for express & is used to render the dynamic files Pug is come with built in function in node js and if we got any problem in rendering then you have to download pug (npm i pug) Tell express which template engine we are gonna us...1 min read·rahulxf.devSep 12, 2023