Month: June 2022

React JS: Create utility functions formatting currency

How to format currency in React JS App. Create Utility functions in React app for formating the currency data for shopping cart apps etc.... Read more »

React Bootstrap – Card with Image and Title Example Code

Create a card with a title using bootstrap CSS in React. React bootstrap card example code - card with image and title. Rendering multiple... Read more »

React JS: Import and use JSON data from .json File

How to import JSON file data in React JS APP. Get data from json file and render inside react component example code. data/items.json [... Read more »

React JS: Navbar component with links, Cart icon Code – Bootstrap

Navbar component code for React JS Apps. React Navbar with links to different components using react-router. Navbar with cart icon button. NavBar.tsx import {... Read more »

Cart Button Icon SVG Code, React JS Example Shopping Cart

SVG code of cart icon for a shopping cart. Cart icon code for React App example. Shopping cart icon for web apps SVG code... Read more »

Routing In React – react router dom

How to do routing in React App using react-router-dom. Creating pages and routing in react js example using react-router. npm i react-router-dom import {... Read more »

Create a React JS App using Vite

Initialize and build a React JS project using Vite. Use Vite instead of creating react app. Vite commands for creating a React typescript project.... Read more »

Vite + React – Live Project on Web Browser

Try out React js project using Vite instead of the create react app. Vite is latest and advanced option to create a react project... Read more »

React Bootstrap – Make Navbar Sticky

How to make React bootstrap navbar sticky. Bootstrap navbar sticky code for React JS Apps. To make the navbar sticky in the React Bootstrap... Read more »

Optional chaining (?.) in JavaScript Examples

What is the use of ?. operator in Javascript. Using ? with variables and objects in javascript codes. What is Optional chaining in Javascript... Read more »