Hi I am making a react component which roughly looks like this below import React, { useState } from "react"; export default function App() { const [data, se
I've written a recursive function to find a given object and the path within that tree, but when I change the target id (over here : if(tree.targetModuleId ===
I have a problem breaking down 1 line using <br />, I have converted to string but it doesn't work. I have followed this https://stackoverflow.com/questio
I'm using @heroicons/react: ^1.0.5 and I'm trying to style the icons by applying another color. I'm using tailwindcss to manage my CSS. When I declare the follo
As heading states, I used to have a page with a stateful component that gets different props based on changes to url made from . Now, upgraded to react router v
I am using React js components and want to render something by access some URL so problem is when i click on the Link it change the URL but does not render the
so i have a problem with conditional validation using yup. Basically i want shipping to have required properties when the checkbox is not toggled. I am using yu
I'm learning React and this question came up. Can I change the background color depending on the variable value that came as a prop? thanks import React from 'r
I am working on a project with Springboot ReactJS and MongoDB. I have implemented the whole code but it doesn't import data from the database. It shows the belo
I'm new to Typescript and I have to build an interface for the following props type: const myProps = [ { name: 'name1', on: true, children: [
I have been learning React hooks lately and I am currently facing useState. I know this is a way to use state in functional components but I wonder what the rea
My situation: After login I try to get username and save it to redux store after this redirect from login to home page(in this page I display list of tasks) and
I have a custom hook that persists the user's scroll position on page refresh. I also want to implement smooth scrolling for my navigation links (site is a sing
I've created a ReactJS webpage with multiple routes using BrowserRouter and deployed in via GitHub pages with its own domain. The website works perfectly as int
I need to delete the element but don't know how to get that specific element! This is the structure of data on Firebase And this is the code: import React, {us
Did according to examples, but I get an error: http://localhost:3000/#error=login_required&state=19004288-e312-4782-ac23-9dc038cd7bb0 Here is my code: keyc
I am trying to make react table scrollable horizontally and vertically but right now it is taking all the space according to the data. I want to make this table
I am trying to test a react typescript project using jest but it's giving a confusing error: Error image Here is my package.json: "dependencies": { "@testin
I would like my tab buttons to spread out across the entire screen. When the screen width is too skinny to fit all the tabs, I would like the scroll buttons to
seemingly simple problem: Example Background: we have many lists of items and render them in the UI with <List>. Example Problem: we usually (but not alwa