Search code examples
useRef() causes TS2322: Type 'number' is not assignable to type 'undefined'...


reactjstypescriptuse-effectuse-ref

Read More
How to use React.forwardRef() with own ref in the component?...


reactjsuse-refreact-forwardref

Read More
Is it bad to use Refs to change styles in react?...


cssreactjsuse-ref

Read More
ref is null Typescript + NextJS...


javascriptreactjstypescriptrefuse-ref

Read More
Cannot read properties of undefined (reading 'focus') on calling focus on useRef current obj...


reactjstypescriptfocustypeerroruse-ref

Read More
useRef for element in loop in react...


reactjsuse-ref

Read More
React native 'BottomSheetModalInternalContext' cannot be null...


javascriptreact-nativeuse-refreact-ref

Read More
React forwardRef: ref and other props...


javascriptreactjsuse-refreact-forwardref

Read More
Cannot assign to read only property 'current' in React useRef...


javascriptreactjsuse-refrecoiljs

Read More
React ref.current.clientHeight reports two different values from the same object...


reactjsuse-ref

Read More
React - Trigger form submit using useRef...


reactjsformsreact-hooksonsubmituse-ref

Read More
useRef not update...


next.jsaccordionuse-ref

Read More
How to use one useRef for multiple components withou useCallback - react...


reactjsuse-ref

Read More
Why and how RefObject pass into custom hook automatically?...


javascriptreactjsreact-hooksuse-ref

Read More
Get the height of an element and show/hide More... button depending on the element's height...


reactjsnext.jsreact-hooksuse-ref

Read More
useRef() does not work in Android app (react native)...


androidreact-nativetextinputuse-refreact-native-textinput

Read More
Expo-Camera, takePictureAsync undefined (Unhandled promise rejection: TypeError: ref.current.takePic...


javascriptreact-nativeexpouse-refexpo-camera

Read More
Weird behavior of react typescript with useRef hook. Ts not throwing errors on wrong ref types...


reactjstypescriptuse-ref

Read More
Typescript error while modifying style with useRef...


reactjsreact-typescripttsxuse-ref

Read More
document.querySelector('something').addEventListener(), how do I achieve the functionality o...


javascriptreactjsuse-refqueryselector

Read More
Forwarding a ref to all pages (route components) just to apply it to the <main> and have a Ski...


reactjsreact-routeraccessibilityuse-refreact-forwardref

Read More
Is it bad practice to use the null-forgiving operator with `useRef`?...


reactjstypescriptuse-ref

Read More
How do I use a useRef hook in a text input field in React Native...


reactjsreact-nativeuse-ref

Read More
ReactJS: How to play video which comes in center and pause all other videos...


javascriptreactjsreact-hooksuse-ref

Read More
Using useRef hook for scroll detection causing re-rendering...


javascriptreactjstypescriptreact-hooksuse-ref

Read More
Why is typescript complaining when trying to use ref in react?...


javascriptnode.jsreactjstypescriptuse-ref

Read More
How can I avoid re-render when props change in a modal in React?...


reactjsformsreact-hooksmodal-dialoguse-ref

Read More
getting Error "Function components cannot have string refs. We recommend using useRef() instead...


react-nativeexpouse-ref

Read More
Why my useEffect is working on localhost but not in production?...


reactjsreact-hooksuse-ref

Read More
How to avoid resetting my useRef when setting state inside a useEffect?...


javascriptreactjsstatesetstateuse-ref

Read More
BackNext