Follow these instructions in your basic Remix.js project to connect your existing MongoDB to your app. In your terminal, install these packages as a...
So, there is a quiz app(Vite + React + TS (react-ts-msw-quiz-app.vercel.app)) that shows a single question and four answers. If I click on the answer,...
When coding React, I use React plus Typescript pattern a lot. Also, you import { FC } from "react" interface OptionsProps { } export const Options:...
So, this is just for my reference. previously I had this code. import { useEffect, useReducer } from "react"; import { questionsApi } from...
Even the most experienced developers sometimes make mistakes while using this in JavaScript or TypeScript ( I am learning Typescript now... LOL) In...
Simple to understand and reusable fetcher method In all projects, where I fetch with the rest API, I use the in-built fetch method all the time. I...