
Tag: reactjs
reactjs – Expected 1-2 arguments, but got 3. react tanstack query options
Using graphql codegen.yml file: `# 1. Schema (graphql schema location) schema: “src/graphql/schema.graphql” documents: “src/graphql/*.graphql” generates: src/graphql/generated.ts: plugins: – typescript – typescript-operations – typescript-react-query – fragment-matcher config: dedupeFragments: true fetcher: #…
reactjs – How to make full page transition effect like this using react.js?
now I am trying to make landing page like this : www.kakaocorp.com/page/service/service/KakaoTalk if you scroll down the page mentioned above, you can see text and smartphone image. if you continue…
reactjs – How to run a project built on Visual Studio with React components on webOS?
I have installed webOS SDK, CLI and emulator provided at webostv.developer.lge.com/develop/getting-started. I have a react project already created and I want to run it on the emulator, but I really…
reactjs – Unable to add multiple tasks using google tasks api in react.js
One thing to keep in mind is that the Google Tasks API only allows you to insert up to 100 tasks at a time. 1.Use a for loop function addManualTasks()…
reactjs – set url.pathname middleware nextJS with query graphql
import { NextMiddlewareResult } from “next/dist/server/web/types”; import { NextRequest, NextResponse } from “next/server”; export async function LocaleRedirectionMiddleware({ nextUrl, }: NextRequest): Promise<NextMiddlewareResult | Promise<NextMiddlewareResult>> { if (nextUrl.pathname !== “/”) { return…
reactjs – space issue in bearer token in react js
I m using Bearer token in my reactjs project and getting token form localstorage but space not coming properly between Bearer and Token Code const TOKEN = localStorage.getItem(‘TOKEN’); Axios.defaults.headers.common[‘Authorization’] =…
reactjs – Proxy error (React): Econnreset & Econnrefused fix?
Proxy Errors Im getting an error: Proxy error: Could not proxy request /api/calendar/get-events?start=2022-05-28T23:00:00.000Z&end=2022-07-09T23:00:00.000Z from localhost:3000 to localhost:5000/. See nodejs.org/api/errors.html#errors_common_system_errors for more information (ECONNRESET). Proxy error: Could not proxy request /api/calendar/get-events?start=2022-05-28T23:00:00.000Z&end=2022-07-09T23:00:00.000Z…