Results for react-native
I am creating a website for a customer who wants to be able to make content changes to it by himself: editing text and pictures over time. I don´t w...
So here's the code I'm confused about: import React from "react" export default function App() { const [starWarsData, setStarWarsData] = React.us...
I have been trying to make a category filter for my webshop project that I've been working on. I'm fairly new to React/JavaScript, so I'm probably mis...
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...
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 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 am working on a project and am trying to unit test a simple state change for an input field. I keep getting a failed assertion when trying to simula...
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...
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...
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?