Nov 26 2023
How To Get Current Path In Next 13
Get the current path in next 13 using the usePathname hook and detect changes in URL
Read MoreNov 26 2023
Get the current path in next 13 using the usePathname hook and detect changes in URL
Read MoreNov 26 2023
Use SASS and SCSS variables in Next 13 components with the help of :export selector.
Read MoreNov 26 2023
Disable Scroll Restoration in Next 13 for Link component and useRouter hook methods
Read MoreNov 26 2023
Let's create a react counter app without JSX, babel and any bundler such as webpack or parcel.
Read MoreNov 26 2023
Typescript generics are types that allow us to pass types to another types, enabling reusable functions and classes with type-safety
Read MoreNov 26 2023
ReactNode and ReactElement is different types in react with typescript representing various content as children prop
Read MoreNov 26 2023
Nested routes in React with React router v6 allow fragments to be injected into the page and changed URLs at the same time without completely redirecting the user to another page
Read MoreNov 25 2023
Add dark mode to react application with Tailwind CSS and control the theme preference with Toggle Switch
Read MoreNov 25 2023
How to Detect swipe gestures in mobile devices with javascript using touchstart, touchmove and touchend event listeners.
Read MoreNov 25 2023
The JavaScript reduce() array method is a higher-order function that iterates over an array and reduces it to a single value
Read More