Hey folks I'm using react native raw bottom sheet in react native project.I'm showing a bottom sheet when the user click on an icon.It's working fine on both an
This is my navigation stack using react navigation v3.2.1: I have a switch navigator to switch to Authentication navigation stack and Authenticated App stack.
I was going through the documentation of Apollo React hooks. And saw there are two queries hooks to use for which is useQuery and useLazyQuery I was reading thi
For a 'back' button I've created below (onClick) handler function in my React app. const { length: historyLength, goBack, replace } = useHistory(); const h
Hi developers I'm just a beginner in React.js. I tried to print props by passing from parent to child. This is app.js file import React from "react"; im
I have been using npm package react-flow-chart, I can now create links between nodes using drag and drop. The issue is: I have to drop the link exactly on the p
TypeError: Cannot read property 'setState' of null 251 | useStateSpy.mockImplementation((init) => [init, setState]); 252 | const component = shal
It appears that react-gtm-module is creating the wrong src path. It is swapping a "/" with a ".". This is the src path as provided by Google. https://www.google
I'm not good at English. I beg your pardon. I wanted to apply 'prettier' before commit using husky & lint-staged. So I installed 'husky@4', 'lint-staged', '
I'm sorry for my English skills in advance. Let's say I want to fetch data from server and render it on page load...the logic is something like this: Page is lo
I am trying to make a simple blog using React-Quill text editor. I want to get the value of the ReactQuill Editor and preview it on a different route. I've been
I wanted to open/load a react bootstrap model box component (Modalbox.js) to App.js, but the modal box open button code in App.js, how to do that? please help.
Similar questions that I have tried following "npm-run-all" is not recognized as an internal or external command "'react-scripts' is not recognized as an inte
I'm using react-select loading the results from an api and debouncing the queries with lodash.debounce: import React, {useState} from 'react'; import AsyncSele
On page load, I try to fire off an authentication request if a token exists in local storage. // utils.ts const init = async () => { try { const
I am creating a react app which is using local storage. I am saving and array of objects to local storage. when I try to save to local storage the data is savin
I have came across few solutions specific for ios and Android to prevent screen-capturing and taking screenshots. But how do i disable screen-capturing in react
I have a problem and I do not undersatnd why the hook return undefined : import React, { useEffect, useState } from 'react'; function App(){ const [globa
I have index.html <body> <div id="portal"></div> <div id="root"></div> </body> and want to use the component below
I am a beginner at frontend and not even sure if this is the right place to ask this question but a developer has created a react app and when data is thrown in