How to add Jest to your Vite-React project?Vite is the development server that is very fast as it uses native ES Modules instead of bundling. Vite has a starter template for React applications. Projects created with Create React App have out-of-the-box support for unit tests but the Vite temp...Aug 12, 2021 · 2 min readakshayrajput.hashnode.dev
How I made my own CSS framework akin to TailwindCSS?What is tailwind? It is a utility first framework. It provides thousands of utility classes that can be used together to build complex components, directly in your markup. You'll rarely end up writing actual CSS. Why make my own framework? I decided ...1SJul 29, 2021 · 7 min readakshayrajput.hashnode.dev
Keep footer at bottom of page - using flexboxTLDR - at the end. But I urge you to read ahead if you'd like to understand the concept. Have you run into this problem where the footer on your site does not stay at the bottom of the page, even if it is the last tag in your HTML body. Especially...1SDec 19, 2020 · 4 min readakshayrajput.hashnode.dev
Fetch() - The BasicsThe Fetch API provides an interface for fetching resources (including across the network). For making a request and fetching a response, you need to use the fetch() method that provides an easy, logical way to fetch resources asynchronously across th...Dec 19, 2020 · 4 min readakshayrajput.hashnode.dev