I'm consuming an API, and it returns an array whit length of 370. I want to start rendering only 15, and then, when the user scroll down, render more 15, and so
When attempting to update an array via React state management, the state array is populated, but the user interface fails to update. The user interface only upd
I want the query to retry until the expected result is met. How do I pass a condition into the function to decide if the query succeeded or not? export async fu
The text does not update on the screen {account}. When you type on the text input it seems like the onChangeAccount is not called. I have destructured it but it
The text does not update on the screen {account}. When you type on the text input it seems like the onChangeAccount is not called. I have destructured it but it
I am using react js to develop my project.I am using React MUIDatatable to bind the data, which I am receiving from API as shown below. I am facing issue, when
When I click on select, it select all rows in all pages of the table. Is there a way to only select rows of the current page of the material table? So for examp
I have a text input that I am trying to use to create new tags via hooks. However, when I enter in the value and press enter, nothing happens. I Googled it and
I'm trying to rotate material-ui icon using css property animation but not getting the desired result. Can somebody please help me identify what's going wrong h
If I need to know whether a key like the shift key is currently being pressed, how can I find that info? This solution should assign this info into a single var
I've got a reusable heading component that allows me to pass a tag prop, creating any sort of heading (h1, h2, h3 etc). Here's that component: heading.tsx impor
I am trying to understand how to share hooks state across components. But it doesn't seem to be sharing. Am I doing something wrong here? Home.js export default
import logo from "./logo.svg"; import "./App.css"; import { useSpring, animated } from "react-spring"; function App() { const props = useSpring({ to: { opacit
I've build a web app on react and used react hooks for my forms. However it is not working when the web application is embedded within another application. The
I have the following problem in my component "SubmitButton" I want to execute a custom hook by clicking on the button. This hook is called "useLogin". But curre
I'm new to React Hook and I follow severals tutorials but I'm afraid I'm not understand everything. I have two components with pretty much the same code but two
Is it possible to change button text that is created using array. If it is possible, what should I do with the onClick function in the button. Here is the sampl
I have a main component that passes down multiple refs to Panels component like so import { useRef } from 'react'; import Panels from './Panels'; export const
I'm having problems to persist the state in the local storage. It's a simple todo app. After adding one todo and refreshing it, all todos are being deleted. Cou
I am getting these lint errors ./components/create-nft/InstagramSelector.js 39:15 Warning: Effect callbacks are synchronous to prevent race conditions. Put the