Results for react-context
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...
I would like to put the slider at the top of my screen. Playing with the styles have no effect on its position. Here is my code: import React, { useRe...
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...
Folks I am following a design that have: image and the bottom navbar have that unique background, I am wondering how to make it in react native or wh...
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'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 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...
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...
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?