Results for react-testing-library
I am fairly new to React and I am having trouble with some async code. I am trying to make a call to my server for price information between two diffe...
How do I create a curved linear gradient design to my page in react native, any insight would be really appreciated. I tried to require the image but ...
I tried searching on google and chatGPT but I had no luck , and this is making me lose my hair. I cannot figure out why the react states are behaving ...
How can i post employee? Maybe I'm doing something wrong? Is there another option? I don't know React at all. I just need a frontend for my applicatio...
I'm using react-query to fetch, and post data from my database on supabase. I created a hook for adding a record using react-query: export function us...
I am working on a react application created using Vite. I am trying to use tailwind and followed the steps mentioned in the official docs of tailwind....
I hope that finally someone can answer my question ... which is more of a general "good to know" question rather than a vitally important one :-) I ca...
I Have a Viewer component which uses context variables and works fine. I want to implement some custom extensions to this viewer, and I placed their d...
I'm trying to change the default white tick (not the checkbox background!) to some other color of my choice. I've found some solutions for when using ...
I have this : const [debugStr, setDebugStr] = useState("This is a debug string") function debug(str){ setDebugStr(str+'\n\n'+debugStr) } functio...
I have a function component as below; const MyFunctionComponent = ({status}) => { let consolidatedErrorMsg = status.errorMessage.split("-"); //['Error...
The example code is here: import Button from '@mui/material/Button'; import { memo } from 'react'; function PokemonBriefCard(props) { return ( ...
I'm fetching a list of objects. Using map function should display a list but there wasn't. I checked if it was saved to 'useState' via console.log(pos...
I want to use breakdown blocks, they don't necessarily have a text field, but they can open some content and I want to have an effect like onBlur in T...
export default function loginvia(loginmethod: string) { const [state, setstate] = useState(loginmethod); function login() { body }...
export default function loginvia(loginmethod: string) { const [state, setstate] = useState(loginmethod); function login() { body }...
just testing Tanstack react-table lib with react + Typescript, and it seams that I can't return tsx/jsx from cell function of ColumnDef: Am I missing...
on build i get error TypeError: Cannot read property 'isConfigured' of undefined I try watch different tutorials and use recommendations: configure ba...
My stack is Oracle DB, Node.js and React web. I have a stored image as Blob in Oracle DB. I want to view this image in a page but failed. I have the o...
as I am creating an elearning web application with frontend in React and backend in .NET Core 7.0 I have stumbled upon a difficult topic for me. Assum...
According to this RFC: Client Components May not import Server Components or call server hooks/utilities, because those only work on the server. I ...
I have the same problem as here react-query: onSuccess, onError, onSettled are deprecated. What should I use instead? . And the the proposed solution ...
I am a newbie trying to understand what is going on here. Would be thankful to anyone able to explain what I am missing here. I am following an exampl...
i'm following a React course on udemy, and while doing a project to test my knowledge about state, i got into a bug i can't solve. The project is abou...
I am using multiple tabs in react-js and each tab content is a component like below profile component that contains multiple input controls. I want to...
How do I undo the most recent local commits in Git?
How can I remove a specific item from an array in JavaScript?
How do I delete a Git branch locally and remotely?
How can I find all files containing a specific text (string) on Linux?
How to find all files containing specific text (string) on Linux?
How do I revert a Git repository to a previous commit?
How do I create an HTML button that acts like a link?
How do I check out a remote Git branch?