APAniket Pandharabaleinaniketicloud.hashnode.dev·May 17, 2024 · 15 min readReact interview questionsWhat is React? React is a library for web and native user interfaces. Compare React with other frameworks. React is a library. Angular and Vue are frameworks. Personally I think, all frameworks are good and depend on person to person which is better ...00
APAniket Pandharabaleinaniketicloud.hashnode.dev·Oct 27, 2023 · 1 min readMongoDB in Remix.jsFollow these instructions in your basic Remix.js project to connect your existing MongoDB to your app. In your terminal, install these packages as a dev dependency. This command is for Remix.js project set with Typescript settings. So typescript will...00
APAniket Pandharabaleinaniketicloud.hashnode.dev·Oct 19, 2023 · 2 min readProgress bar trick with Number()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, I want the progress bar to be updated. So here is the solution. Look how the progress bar increases...00
APAniket Pandharabaleinaniketicloud.hashnode.dev·Oct 15, 2023 · 2 min readVS Code snippet: console.log(), React FCWhen coding React, I use React plus Typescript pattern a lot. Also, you import { FC } from "react" interface OptionsProps { } export const Options: FC<OptionsProps> = () => { return ( <> </> ) } So, I made a snippet in VS-Code to red...00
APAniket Pandharabaleinaniketicloud.hashnode.dev·Oct 15, 2023 · 4 min readTypescript useReducer error solved when adding new stateSo, this is just for my reference. previously I had this code. import { useEffect, useReducer } from "react"; import { questionsApi } from "../constants"; import { Loader } from "../components/Loader"; import { Error } from "../components/Error"; imp...00